Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 78.17 kB / 21.24 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 169.4 kB / 24.5 MB, free: 3.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 158.6 MB / 186.2 MB, free: 6.516 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 55.91 kB / 298.6 MB, free: 8.93 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3012, allocations: 49.14 MB / 347.8 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03176/0.3329, allocations: 23.25 MB / 371 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02223/0.3552, allocations: 7.709 MB / 378.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007585/0.3628, allocations: 202.9 kB / 378.9 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02569/0.3884, allocations: 9.23 MB / 388.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01531/0.4038, allocations: 3.409 MB / 391.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007638/0.4114, allocations: 1.824 MB / 393.4 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02049/0.4319, allocations: 12.43 MB / 405.8 MB, free: 7.129 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03554/0.4674, allocations: 15.88 MB / 421.7 MB, free: 7.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02326/0.4907, allocations: 10.1 MB / 431.8 MB, free: 12.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01473/0.5054, allocations: 7.054 MB / 438.9 MB, free: 5.867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007036/0.5124, allocations: 1.844 MB / 440.7 MB, free: 4.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009656/0.5221, allocations: 2.195 MB / 442.9 MB, free: 1.828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007999/0.5301, allocations: 3.667 MB / 446.6 MB, free: 14.15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0139/0.544, allocations: 5.428 MB / 452 MB, free: 8.703 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03801/0.582, allocations: 24.9 MB / 476.9 MB, free: 15.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.582, allocations: 4 kB / 476.9 MB, free: 15.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.582, allocations: 0 / 476.9 MB, free: 15.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007721/0.5828, allocations: 3.938 kB / 476.9 MB, free: 15.72 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.05486/0.6377, allocations: 14.81 MB / 491.7 MB, free: 0.8086 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.6377, allocations: 15.98 kB / 491.7 MB, free: 0.793 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5174/1.155, allocations: 9.54 MB / 0.4895 GB, free: 109.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02016/1.175, allocations: 7.036 MB / 0.4964 GB, free: 104.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008533/1.176, allocations: 0.8182 MB / 0.4972 GB, free: 103.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005957/1.182, allocations: 1.073 MB / 0.4982 GB, free: 102.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04865/1.231, allocations: 18.95 MB / 0.5167 GB, free: 83.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005652/1.231, allocations: 23.91 kB / 0.5168 GB, free: 83.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005642/1.237, allocations: 458.5 kB / 0.5172 GB, free: 82.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009547/1.238, allocations: 0.6958 MB / 0.5179 GB, free: 82.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03567/1.274, allocations: 18.11 MB / 0.5356 GB, free: 64.06 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1006/1.374, allocations: 51.22 MB / 0.5856 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02565/1.4, allocations: 14.59 MB / 0.5998 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008342/1.408, allocations: 3.88 MB / 0.6036 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02806/1.436, allocations: 11.15 MB / 0.6145 GB, free: 1.559 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.771e-05/1.436, allocations: 77.52 kB / 0.6146 GB, free: 1.473 MB / 462.1 MB Notification: Performance of pre-optimization done (n=385): time 6.903e-06/1.436, allocations: 3.938 kB / 0.6146 GB, free: 1.469 MB / 462.1 MB Notification: Performance of matching and sorting (n=391): time 0.05482/1.491, allocations: 19.04 MB / 0.6332 GB, free: 14.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.35e-05/1.491, allocations: 90.47 kB / 0.6333 GB, free: 14.31 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01072/1.502, allocations: 4.171 MB / 0.6373 GB, free: 10.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009124/1.503, allocations: 93.7 kB / 0.6374 GB, free: 10.06 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004777/1.508, allocations: 5.014 MB / 0.6423 GB, free: 5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002185/1.51, allocations: 1.418 MB / 0.6437 GB, free: 3.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004501/1.514, allocations: 1.275 MB / 0.645 GB, free: 2.285 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/1.514, allocations: 301.1 kB / 0.6452 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005991/1.52, allocations: 3.101 MB / 0.6483 GB, free: 14.88 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008794/1.529, allocations: 5.753 MB / 0.6539 GB, free: 7.895 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01533/1.545, allocations: 9.422 MB / 0.6631 GB, free: 13.24 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000115/1.545, allocations: 28 kB / 0.6631 GB, free: 13.21 MB / 0.5138 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.02411/1.569, allocations: 10.18 MB / 0.6731 GB, free: 3.004 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/1.569, allocations: 43.94 kB / 0.6731 GB, free: 2.961 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001849/1.569, allocations: 88 kB / 0.6732 GB, free: 2.875 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00401/1.573, allocations: 1.383 MB / 0.6745 GB, free: 1.488 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006534/1.58, allocations: 1.458 MB / 0.676 GB, free: 28 kB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02085/1.601, allocations: 10.89 MB / 0.6866 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005744/1.606, allocations: 403.5 kB / 0.687 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00169/1.608, allocations: 324 kB / 0.6873 GB, free: 4.305 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (752): * Single equations (assignments): 750 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0109/1.619, allocations: 4.177 MB / 0.6914 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2652/1.884, allocations: 444.5 kB / 0.6918 GB, free: 185.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01456/1.899, allocations: 7.261 MB / 0.6989 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009018/1.908, allocations: 5.952 MB / 0.7047 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.088e-05/1.908, allocations: 15.25 kB / 0.7047 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.945e-05/1.908, allocations: 23.39 kB / 0.7047 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02646/1.934, allocations: 13.78 MB / 0.7182 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/1.934, allocations: 3.938 kB / 0.7182 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003233/1.937, allocations: 0.7211 MB / 0.7189 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003204/1.941, allocations: 1.23 MB / 0.7201 GB, free: 175.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007183/1.941, allocations: 89.78 kB / 0.7202 GB, free: 175.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01247/1.954, allocations: 9.669 MB / 0.7296 GB, free: 167.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.954, allocations: 0 / 0.7296 GB, free: 167.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01701/1.971, allocations: 10.44 MB / 0.7398 GB, free: 157.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003791/1.975, allocations: 0.9767 MB / 0.7408 GB, free: 156.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00175/1.976, allocations: 68 kB / 0.7408 GB, free: 156.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003648/1.98, allocations: 253.8 kB / 0.7411 GB, free: 156.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001227/1.981, allocations: 283.4 kB / 0.7414 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007334/1.982, allocations: 116 kB / 0.7415 GB, free: 156.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005565/1.988, allocations: 2.665 MB / 0.7441 GB, free: 153.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/1.988, allocations: 4 kB / 0.7441 GB, free: 153.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009108/1.997, allocations: 1.824 MB / 0.7459 GB, free: 151.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.port_p.reference.gamma,speed.phi) * 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 (360): * Single equations (assignments): 358 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001335/1.998, allocations: 246.1 kB / 0.7461 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01477/2.013, allocations: 7.55 MB / 0.7535 GB, free: 144 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/2.013, allocations: 3.938 kB / 0.7535 GB, free: 144 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007486/2.02, allocations: 3.366 MB / 0.7568 GB, free: 140.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008212/2.028, allocations: 0.962 MB / 0.7577 GB, free: 139.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0413/2.07, allocations: 19.11 MB / 0.7764 GB, free: 120.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01355/2.083, allocations: 6.611 MB / 0.7828 GB, free: 113.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0061/2.089, allocations: 2.215 MB / 0.785 GB, free: 111.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/2.091, allocations: 360.4 kB / 0.7853 GB, free: 111.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.423e-06/2.091, allocations: 0 / 0.7853 GB, free: 111.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.1047/2.195, allocations: 63.79 MB / 0.8476 GB, free: 47.52 MB / 0.5294 GB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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: 8.514057412743568]