Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001567/0.001567, allocations: 113 kB / 21.18 MB, free: 0.5898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00178/0.00178, allocations: 209.7 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.446/1.446, allocations: 230.4 MB / 258.1 MB, free: 8.133 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 71.83 kB / 378.8 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2496, allocations: 53.31 MB / 432.1 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01388/0.2634, allocations: 9.817 MB / 441.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007479/0.2709, allocations: 3.786 MB / 445.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001638/0.2726, allocations: 51.75 kB / 445.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002078/0.2746, allocations: 0.7027 MB / 446.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003072/0.2777, allocations: 0.9283 MB / 447.4 MB, free: 8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.2791, allocations: 475.1 kB / 447.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003526/0.2826, allocations: 2.654 MB / 450.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.2841, allocations: 1.116 MB / 451.6 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001789/0.2859, allocations: 1.207 MB / 452.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002252/0.2882, allocations: 1.545 MB / 454.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000436/0.2886, allocations: 312 kB / 454.7 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.2897, allocations: 0.5699 MB / 455.2 MB, free: 56 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.2907, allocations: 1.036 MB / 456.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001737/0.2925, allocations: 1.493 MB / 457.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005225/0.2977, allocations: 4.316 MB / 462.1 MB, free: 9.184 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.2977, allocations: 4 kB / 462.1 MB, free: 9.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2977, allocations: 0 / 462.1 MB, free: 9.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.00011/0.2978, allocations: 0 / 462.1 MB, free: 9.18 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006806/0.3046, allocations: 3.26 MB / 465.3 MB, free: 5.848 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3047, allocations: 11.97 kB / 465.4 MB, free: 5.836 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.3058, allocations: 378.8 kB / 465.7 MB, free: 5.465 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003197/0.309, allocations: 1.738 MB / 467.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.3091, allocations: 156 kB / 467.6 MB, free: 3.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003346/0.3095, allocations: 204 kB / 467.8 MB, free: 3.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004653/0.3141, allocations: 2.694 MB / 470.5 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.484e-05/0.3142, allocations: 3.953 kB / 470.5 MB, free: 0.543 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001959/0.3144, allocations: 87.98 kB / 470.6 MB, free: 468 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001258/0.3145, allocations: 95.92 kB / 470.7 MB, free: 372 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004252/0.3187, allocations: 2.284 MB / 473 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.015/0.3337, allocations: 8.153 MB / 481.1 MB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00314/0.3369, allocations: 1.547 MB / 482.7 MB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002092/0.339, allocations: 1.016 MB / 483.7 MB, free: 3.105 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002724/0.3392, allocations: 134 kB / 483.8 MB, free: 2.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/0.3393, allocations: 51.5 kB / 483.9 MB, free: 2.895 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.957e-06/0.3393, allocations: 0 / 483.9 MB, free: 2.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01482/0.3541, allocations: 6.484 MB / 490.4 MB, free: 12.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.3542, allocations: 64.72 kB / 490.4 MB, free: 12.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003949/0.3581, allocations: 2.181 MB / 492.6 MB, free: 9.969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001901/0.3583, allocations: 49.7 kB / 492.6 MB, free: 9.914 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.3594, allocations: 1.141 MB / 493.8 MB, free: 8.762 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00055/0.3599, allocations: 479.9 kB / 494.3 MB, free: 8.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005432/0.3605, allocations: 243.5 kB / 494.5 MB, free: 8.047 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.3607, allocations: 357.9 kB / 494.8 MB, free: 7.691 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/0.3621, allocations: 0.7613 MB / 495.6 MB, free: 6.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/0.3638, allocations: 1.017 MB / 496.6 MB, free: 5.824 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003172/0.367, allocations: 1.861 MB / 498.5 MB, free: 3.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.367, allocations: 4 kB / 498.5 MB, free: 3.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005677/0.3727, allocations: 2.746 MB / 0.4895 GB, free: 1.102 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.3727, allocations: 8 kB / 0.4895 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.3727, allocations: 8 kB / 0.4895 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002096/0.3748, allocations: 0.7814 MB / 0.4903 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.376, allocations: 267.6 kB / 0.4905 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/0.3898, allocations: 9.619 MB / 0.4999 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.3913, allocations: 87.89 kB / 0.5 GB, free: 6.051 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002777/0.3916, allocations: 47.98 kB / 0.5 GB, free: 6.004 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001655/0.3933, allocations: 0.755 MB / 0.5008 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006505/0.3939, allocations: 218.5 kB / 0.501 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005156/0.3991, allocations: 2.481 MB / 0.5034 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.341e-05/0.3991, allocations: 19.98 kB / 0.5034 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.266e-05/0.3991, allocations: 7.938 kB / 0.5034 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.3992, allocations: 3.984 kB / 0.5034 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/0.4099, allocations: 4.93 MB / 0.5083 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.4099, allocations: 0 / 0.5083 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.411, allocations: 219.9 kB / 0.5085 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001833/0.4128, allocations: 0.6521 MB / 0.5091 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/0.4129, allocations: 35.97 kB / 0.5091 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01067/0.4236, allocations: 8.719 MB / 0.5176 GB, free: 3.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.4236, allocations: 3.938 kB / 0.5177 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006998/0.4306, allocations: 3.533 MB / 0.5211 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/0.4319, allocations: 451.6 kB / 0.5215 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005142/0.4324, allocations: 35.92 kB / 0.5216 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/0.4337, allocations: 83.91 kB / 0.5216 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003185/0.434, allocations: 96.84 kB / 0.5217 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/0.4341, allocations: 40.05 kB / 0.5218 GB, free: 15.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002948/0.4371, allocations: 1.536 MB / 0.5233 GB, free: 13.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4371, allocations: 0 / 0.5233 GB, free: 13.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002395/0.4395, allocations: 0.5312 MB / 0.5238 GB, free: 13.04 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001802/0.4413, allocations: 475.1 kB / 0.5243 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004943/0.4462, allocations: 2.299 MB / 0.5265 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.4462, allocations: 3.938 kB / 0.5265 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002947/0.4492, allocations: 1.531 MB / 0.528 GB, free: 8.789 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003108/0.4523, allocations: 448.7 kB / 0.5284 GB, free: 8.355 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.4631, allocations: 5.304 MB / 0.5336 GB, free: 2.996 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002399/0.4655, allocations: 1.943 MB / 0.5355 GB, free: 1.016 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000718/0.4662, allocations: 143.4 kB / 0.5356 GB, free: 0.875 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4662, allocations: 0 / 0.5356 GB, free: 0.875 MB / 446.1 MB Notification: Performance of Templates: time 0.2601/0.7263, allocations: 64.58 MB / 0.5987 GB, free: 47.66 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.035583435092121]