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.IMC_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.001865/0.001865, allocations: 107.6 kB / 21.18 MB, free: 0.5781 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.001573/0.001573, allocations: 214.3 kB / 24.48 MB, free: 3.867 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.459/1.459, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.002218/0.002218, allocations: 55.91 kB / 347.7 MB, free: 9.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3289, allocations: 49.15 MB / 396.9 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02988/0.3588, allocations: 21.44 MB / 418.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02433/0.3831, allocations: 7.096 MB / 425.4 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009207/0.3923, allocations: 188.2 kB / 425.6 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02534/0.4177, allocations: 8.207 MB / 433.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01578/0.4335, allocations: 3.012 MB / 436.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007185/0.4406, allocations: 1.729 MB / 438.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0191/0.4597, allocations: 10.98 MB / 449.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03915/0.4989, allocations: 14.23 MB / 463.7 MB, free: 168 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01385/0.5127, allocations: 5.939 MB / 469.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01402/0.5268, allocations: 6.147 MB / 475.8 MB, free: 4.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006674/0.5334, allocations: 1.68 MB / 477.5 MB, free: 2.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008362/0.5418, allocations: 2.031 MB / 479.5 MB, free: 340 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007309/0.5491, allocations: 3.23 MB / 482.8 MB, free: 13.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01416/0.5633, allocations: 4.775 MB / 487.6 MB, free: 8.301 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03941/0.6027, allocations: 22.52 MB / 0.4981 GB, free: 1.707 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-05/0.6027, allocations: 0 / 0.4981 GB, free: 1.707 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.989e-06/0.6027, allocations: 0 / 0.4981 GB, free: 1.707 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001166/0.6039, allocations: 0 / 0.4981 GB, free: 1.707 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.05105/0.6549, allocations: 13.05 MB / 0.5109 GB, free: 4.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.655, allocations: 11.98 kB / 0.5109 GB, free: 4.559 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04382/0.6988, allocations: 7.231 MB / 0.5179 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01973/0.7185, allocations: 6.243 MB / 0.524 GB, free: 7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001043/0.7195, allocations: 0.7105 MB / 0.5247 GB, free: 6.289 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00547/0.725, allocations: 0.9374 MB / 0.5256 GB, free: 5.352 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05398/0.779, allocations: 16.35 MB / 0.5416 GB, free: 4.898 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003314/0.7793, allocations: 11.95 kB / 0.5416 GB, free: 4.887 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003882/0.7832, allocations: 399.9 kB / 0.542 GB, free: 4.496 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009129/0.7841, allocations: 0.5786 MB / 0.5426 GB, free: 3.914 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04307/0.8272, allocations: 15.38 MB / 0.5576 GB, free: 4.508 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5853/1.412, allocations: 44.92 MB / 0.6015 GB, free: 106 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0212/1.434, allocations: 10.92 MB / 0.6121 GB, free: 101.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006055/1.44, allocations: 3.079 MB / 0.6151 GB, free: 99.83 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01973/1.459, allocations: 9.002 MB / 0.6239 GB, free: 91.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.632e-05/1.46, allocations: 64.89 kB / 0.624 GB, free: 91.22 MB / 478.1 MB Notification: Performance of pre-optimization done (n=297): time 7.424e-06/1.46, allocations: 3.984 kB / 0.624 GB, free: 91.22 MB / 478.1 MB Notification: Performance of matching and sorting (n=303): time 0.03763/1.497, allocations: 15.09 MB / 0.6387 GB, free: 76.44 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/1.497, allocations: 81.78 kB / 0.6388 GB, free: 76.35 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007664/1.505, allocations: 3.77 MB / 0.6425 GB, free: 72.68 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005697/1.505, allocations: 77.7 kB / 0.6426 GB, free: 72.6 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002449/1.508, allocations: 4.428 MB / 0.6469 GB, free: 68.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001561/1.509, allocations: 1.106 MB / 0.648 GB, free: 67.43 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004004/1.513, allocations: 1.104 MB / 0.649 GB, free: 66.32 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/1.514, allocations: 301.1 kB / 0.6493 GB, free: 66.02 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004777/1.518, allocations: 2.552 MB / 0.6518 GB, free: 63.46 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005595/1.524, allocations: 4.922 MB / 0.6566 GB, free: 57.41 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009235/1.533, allocations: 7.938 MB / 0.6644 GB, free: 48.33 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.663e-05/1.533, allocations: 24 kB / 0.6644 GB, free: 48.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01495/1.548, allocations: 8.58 MB / 0.6728 GB, free: 39.68 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/1.548, allocations: 36 kB / 0.6728 GB, free: 39.65 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001803/1.549, allocations: 80 kB / 0.6729 GB, free: 39.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003233/1.552, allocations: 1.205 MB / 0.6741 GB, free: 38.36 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004395/1.556, allocations: 1.228 MB / 0.6753 GB, free: 37.13 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01358/1.57, allocations: 9.497 MB / 0.6845 GB, free: 27.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005428/1.575, allocations: 331.6 kB / 0.6849 GB, free: 27.21 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001331/1.576, allocations: 284 kB / 0.6851 GB, free: 26.93 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (638): * Single equations (assignments): 636 * 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,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007975/1.584, allocations: 3.728 MB / 0.6888 GB, free: 23.19 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001782/1.586, allocations: 385.5 kB / 0.6891 GB, free: 22.81 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01294/1.599, allocations: 5.723 MB / 0.6947 GB, free: 17.04 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007766/1.607, allocations: 4.7 MB / 0.6993 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.314e-05/1.607, allocations: 8 kB / 0.6993 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.83e-05/1.607, allocations: 15.94 kB / 0.6993 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02677/1.634, allocations: 11.45 MB / 0.7105 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.524e-05/1.634, allocations: 4 kB / 0.7105 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002446/1.636, allocations: 0.5582 MB / 0.7111 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003533/1.64, allocations: 1.08 MB / 0.7121 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005021/1.64, allocations: 67.98 kB / 0.7122 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01681/1.657, allocations: 8.407 MB / 0.7204 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/1.657, allocations: 11.92 kB / 0.7204 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01955/1.677, allocations: 8.43 MB / 0.7286 GB, free: 13.92 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003829/1.68, allocations: 0.8058 MB / 0.7294 GB, free: 13.11 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001629/1.682, allocations: 64.05 kB / 0.7295 GB, free: 13.05 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00308/1.685, allocations: 183.8 kB / 0.7297 GB, free: 12.87 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009368/1.686, allocations: 234.5 kB / 0.7299 GB, free: 12.64 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000488/1.687, allocations: 95.97 kB / 0.73 GB, free: 12.54 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.006496/1.693, allocations: 2.416 MB / 0.7323 GB, free: 10.14 MB / 0.4982 GB Notification: Performance of sort global known variables: time 9e-08/1.693, allocations: 0 / 0.7323 GB, free: 10.14 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.009597/1.703, allocations: 1.543 MB / 0.7338 GB, free: 8.594 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (imcQS.rotorCage.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 (282): * Single equations (assignments): 280 * 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,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001021/1.704, allocations: 238.4 kB / 0.7341 GB, free: 8.355 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01436/1.718, allocations: 6.232 MB / 0.7402 GB, free: 2.098 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/1.718, allocations: 1.875 kB / 0.7402 GB, free: 2.098 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.006618/1.725, allocations: 2.758 MB / 0.7429 GB, free: 15.32 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006534/1.731, allocations: 0.8468 MB / 0.7437 GB, free: 14.48 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3371/2.068, allocations: 16.44 MB / 0.7597 GB, free: 163.7 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01192/2.08, allocations: 5.777 MB / 0.7654 GB, free: 163.2 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005307/2.086, allocations: 1.858 MB / 0.7672 GB, free: 163.2 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/2.087, allocations: 294.3 kB / 0.7675 GB, free: 163.2 MB / 0.5138 GB Notification: Performance of SimCode: time 1.533e-06/2.087, allocations: 5.875 kB / 0.7675 GB, free: 163.2 MB / 0.5138 GB Notification: Performance of Templates: time 0.1061/2.193, allocations: 63.71 MB / 0.8297 GB, free: 117.9 MB / 0.5138 GB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.288978634402156]