Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00137/0.00137, allocations: 77.97 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001709/0.001709, allocations: 170.4 kB / 24.82 MB, free: 9.262 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.939/0.939, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 273.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.841e-05, allocations: 6.312 kB / 273.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1343/0.1344, allocations: 25.31 MB / 298.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01105/0.1454, allocations: 8.025 MB / 306.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002112/0.1475, allocations: 236.3 kB / 307 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007641/0.1552, allocations: 9.699 MB / 316.7 MB, free: 5.168 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0044/0.1596, allocations: 3.452 MB / 320.2 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.1616, allocations: 1.821 MB / 322 MB, free: 1.008 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008886/0.1705, allocations: 12.78 MB / 334.8 MB, free: 5.008 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01953/0.1901, allocations: 15.89 MB / 350.7 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00991/0.2, allocations: 9.825 MB / 360.5 MB, free: 11.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006213/0.2062, allocations: 7.143 MB / 367.6 MB, free: 3.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001883/0.2081, allocations: 1.832 MB / 369.5 MB, free: 2.098 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002769/0.2108, allocations: 2.233 MB / 371.7 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00184/0.2127, allocations: 3.733 MB / 375.4 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003696/0.2164, allocations: 4.69 MB / 380.1 MB, free: 7.422 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009089/0.2255, allocations: 11.78 MB / 391.9 MB, free: 11.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2255, allocations: 4 kB / 391.9 MB, free: 11.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.2255, allocations: 0 / 391.9 MB, free: 11.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001281/0.2256, allocations: 4 kB / 391.9 MB, free: 11.6 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.01866/0.2442, allocations: 14.54 MB / 406.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2443, allocations: 12.03 kB / 406.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02203/0.2663, allocations: 7.795 MB / 414.2 MB, free: 5.133 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009126/0.2754, allocations: 6.906 MB / 421.2 MB, free: 14.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004018/0.2758, allocations: 0.8067 MB / 422 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001437/0.2773, allocations: 1.062 MB / 423 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01158/0.2889, allocations: 8.904 MB / 431.9 MB, free: 3.234 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001434/0.289, allocations: 19.83 kB / 431.9 MB, free: 3.215 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007449/0.2897, allocations: 451.9 kB / 432.4 MB, free: 2.773 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004346/0.2902, allocations: 0.6711 MB / 433.1 MB, free: 2.102 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2227/0.5129, allocations: 4.392 MB / 437.4 MB, free: 84.63 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04561/0.5585, allocations: 45.42 MB / 482.9 MB, free: 64.04 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007825/0.5663, allocations: 9.337 MB / 492.2 MB, free: 57.74 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/0.5676, allocations: 1.482 MB / 493.7 MB, free: 56.29 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/0.5679, allocations: 183.9 kB / 493.9 MB, free: 56.1 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.418e-05/0.5679, allocations: 93.11 kB / 494 MB, free: 56 MB / 378.8 MB Notification: Performance of pre-optimization done (n=518): time 1.045e-05/0.5679, allocations: 0 / 494 MB, free: 56 MB / 378.8 MB Notification: Performance of matching and sorting (n=524): time 0.01767/0.5856, allocations: 10.47 MB / 0.4926 GB, free: 45.85 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.5856, allocations: 114.9 kB / 0.4927 GB, free: 45.72 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002691/0.5883, allocations: 3.645 MB / 0.4963 GB, free: 42.73 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001703/0.5885, allocations: 109.7 kB / 0.4964 GB, free: 42.61 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001548/0.59, allocations: 4.962 MB / 0.5012 GB, free: 38.17 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007541/0.5908, allocations: 1.917 MB / 0.5031 GB, free: 36.36 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001238/0.592, allocations: 1.531 MB / 0.5046 GB, free: 34.96 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.834e-05/0.5921, allocations: 476.8 kB / 0.5051 GB, free: 34.49 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009236/0.593, allocations: 0.8374 MB / 0.5059 GB, free: 33.65 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00181/0.5948, allocations: 4.524 MB / 0.5103 GB, free: 27.82 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003552/0.5984, allocations: 6.049 MB / 0.5162 GB, free: 20.69 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-05/0.5984, allocations: 24 kB / 0.5162 GB, free: 20.66 MB / 378.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.00782/0.6062, allocations: 5.732 MB / 0.5218 GB, free: 15.39 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/0.6063, allocations: 39.94 kB / 0.5219 GB, free: 15.35 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-05/0.6063, allocations: 80.38 kB / 0.5219 GB, free: 15.27 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002592/0.6089, allocations: 1.258 MB / 0.5232 GB, free: 14.03 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003393/0.6123, allocations: 1.489 MB / 0.5246 GB, free: 12.65 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007336/0.6197, allocations: 6.413 MB / 0.5309 GB, free: 6.281 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002626/0.6223, allocations: 251.8 kB / 0.5311 GB, free: 6.035 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003897/0.6227, allocations: 280 kB / 0.5314 GB, free: 5.762 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * 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 prepare postOptimizeDAE: time 0.002052/0.6247, allocations: 0.6045 MB / 0.532 GB, free: 5.254 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008199/0.6255, allocations: 0.6337 MB / 0.5326 GB, free: 4.617 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006207/0.6318, allocations: 4.163 MB / 0.5367 GB, free: 420 kB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00474/0.6365, allocations: 2.912 MB / 0.5395 GB, free: 13.46 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/0.6365, allocations: 15.98 kB / 0.5395 GB, free: 13.45 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.871e-05/0.6365, allocations: 23.91 kB / 0.5395 GB, free: 13.42 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01885/0.6554, allocations: 12.55 MB / 0.5518 GB, free: 2.062 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/0.6554, allocations: 4 kB / 0.5518 GB, free: 2.059 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002361/0.6578, allocations: 0.8185 MB / 0.5526 GB, free: 1.289 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00257/0.6603, allocations: 1.109 MB / 0.5537 GB, free: 188 kB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002343/0.6606, allocations: 112 kB / 0.5538 GB, free: 76 kB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005547/0.6661, allocations: 5.873 MB / 0.5595 GB, free: 10.21 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6661, allocations: 4 kB / 0.5595 GB, free: 10.21 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005819/0.6719, allocations: 4.969 MB / 0.5644 GB, free: 5.172 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/0.6731, allocations: 0.9143 MB / 0.5653 GB, free: 4.254 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003097/0.6734, allocations: 96.03 kB / 0.5654 GB, free: 4.16 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009101/0.6743, allocations: 132 kB / 0.5655 GB, free: 4.031 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003776/0.6747, allocations: 371.1 kB / 0.5658 GB, free: 3.668 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001837/0.6749, allocations: 121.1 kB / 0.566 GB, free: 3.551 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001247/0.6761, allocations: 1.568 MB / 0.5675 GB, free: 2.148 MB / 410.8 MB Notification: Performance of sort global known variables: time 4e-08/0.6761, allocations: 4 kB / 0.5675 GB, free: 2.145 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.005497/0.6816, allocations: 1.914 MB / 0.5694 GB, free: 236 kB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.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 (499): * Single equations (assignments): 497 * 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.000574/0.6822, allocations: 303.4 kB / 0.5696 GB, free: 15.98 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.007213/0.6894, allocations: 4.441 MB / 0.574 GB, free: 11.8 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.6894, allocations: 4.953 kB / 0.574 GB, free: 11.8 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004032/0.6934, allocations: 2.334 MB / 0.5763 GB, free: 9.574 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003434/0.6969, allocations: 1.052 MB / 0.5773 GB, free: 8.57 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1336/0.8305, allocations: 15.84 MB / 0.5928 GB, free: 120.3 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002782/0.8333, allocations: 2.984 MB / 0.5957 GB, free: 120 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002977/0.8363, allocations: 0.8083 MB / 0.5965 GB, free: 119.9 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002607/0.8389, allocations: 1.185 MB / 0.5976 GB, free: 119.8 MB / 426.8 MB Notification: Performance of SimCode: time 1.332e-06/0.8389, allocations: 0 / 0.5976 GB, free: 119.8 MB / 426.8 MB Notification: Performance of Templates: time 0.08864/0.9275, allocations: 78.29 MB / 0.6741 GB, free: 59.71 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.856299289036542]