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.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.001007/0.001007, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.0009355/0.0009355, allocations: 161 kB / 24.56 MB, free: 8 kB / 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.9361/0.9361, allocations: 177.1 MB / 205 MB, free: 5.598 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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 273 MB, free: 1.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.086e-05, allocations: 6.25 kB / 273 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.139/0.139, allocations: 24.37 MB / 297.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.1511, allocations: 7.372 MB / 304.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002471/0.1536, allocations: 222.3 kB / 305 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00859/0.1621, allocations: 9.426 MB / 314.4 MB, free: 7.035 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005706/0.1678, allocations: 3.053 MB / 317.4 MB, free: 4.625 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002365/0.1702, allocations: 1.745 MB / 319.2 MB, free: 3.262 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008995/0.1792, allocations: 11.31 MB / 330.5 MB, free: 9.352 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01641/0.1956, allocations: 14.23 MB / 344.7 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009102/0.2047, allocations: 8.698 MB / 353.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006999/0.2117, allocations: 6.196 MB / 359.6 MB, free: 12.05 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002775/0.2145, allocations: 1.668 MB / 361.3 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002699/0.2172, allocations: 2.062 MB / 363.4 MB, free: 8.324 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002042/0.2192, allocations: 3.269 MB / 366.6 MB, free: 5.047 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003402/0.2226, allocations: 4.129 MB / 370.8 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01015/0.2328, allocations: 10.4 MB / 381.2 MB, free: 6.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.2328, allocations: 4 kB / 381.2 MB, free: 6.477 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.2328, allocations: 0 / 381.2 MB, free: 6.477 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002635/0.2331, allocations: 0 / 381.2 MB, free: 6.477 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.01829/0.2514, allocations: 13.67 MB / 394.8 MB, free: 8.707 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.2514, allocations: 8.031 kB / 394.8 MB, free: 8.699 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01843/0.2698, allocations: 7.752 MB / 402.6 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009297/0.2791, allocations: 6.698 MB / 409.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003769/0.2795, allocations: 0.6985 MB / 410 MB, free: 9.469 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001375/0.2809, allocations: 0.9218 MB / 410.9 MB, free: 8.547 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01345/0.2943, allocations: 8.279 MB / 419.2 MB, free: 160 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001417/0.2945, allocations: 15.89 kB / 419.2 MB, free: 144 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006702/0.2951, allocations: 392 kB / 419.6 MB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003697/0.2955, allocations: 0.5508 MB / 420.1 MB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009476/0.305, allocations: 4.607 MB / 424.7 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2603/0.5653, allocations: 40.82 MB / 465.6 MB, free: 73 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008376/0.5737, allocations: 7.986 MB / 473.5 MB, free: 71.6 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/0.5752, allocations: 1.334 MB / 474.9 MB, free: 71.32 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001899/0.5754, allocations: 130.4 kB / 475 MB, free: 71.3 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.5754, allocations: 86.05 kB / 475.1 MB, free: 71.22 MB / 378.8 MB Notification: Performance of pre-optimization done (n=398): time 5.26e-06/0.5754, allocations: 0 / 475.1 MB, free: 71.22 MB / 378.8 MB Notification: Performance of matching and sorting (n=404): time 0.01666/0.5921, allocations: 10.31 MB / 485.4 MB, free: 65.04 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.5921, allocations: 94.58 kB / 485.5 MB, free: 64.93 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003089/0.5952, allocations: 3.299 MB / 488.8 MB, free: 61.71 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001586/0.5954, allocations: 93.7 kB / 488.9 MB, free: 61.62 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001483/0.5969, allocations: 4.366 MB / 493.2 MB, free: 57.91 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005884/0.5975, allocations: 1.478 MB / 494.7 MB, free: 56.5 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001063/0.5985, allocations: 1.275 MB / 496 MB, free: 55.21 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.799e-05/0.5986, allocations: 480.7 kB / 496.5 MB, free: 54.74 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.5998, allocations: 0.8781 MB / 497.3 MB, free: 53.86 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002065/0.6019, allocations: 4.119 MB / 0.4897 GB, free: 48.4 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003874/0.6057, allocations: 5.505 MB / 0.4951 GB, free: 41.82 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-05/0.6058, allocations: 20 kB / 0.4951 GB, free: 41.8 MB / 378.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.006027/0.6118, allocations: 5.324 MB / 0.5003 GB, free: 36.94 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.6118, allocations: 36 kB / 0.5003 GB, free: 36.9 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.144e-05/0.6119, allocations: 72.53 kB / 0.5004 GB, free: 36.83 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002023/0.6139, allocations: 1.128 MB / 0.5015 GB, free: 35.7 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0022/0.6161, allocations: 1.318 MB / 0.5028 GB, free: 34.48 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005865/0.622, allocations: 6.045 MB / 0.5087 GB, free: 28.36 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/0.6238, allocations: 319.6 kB / 0.509 GB, free: 28.05 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000264/0.624, allocations: 288 kB / 0.5093 GB, free: 27.77 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001646/0.6257, allocations: 0.5326 MB / 0.5098 GB, free: 27.32 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005142/0.6262, allocations: 0.521 MB / 0.5103 GB, free: 26.8 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004546/0.6307, allocations: 3.668 MB / 0.5139 GB, free: 23.13 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003334/0.6341, allocations: 2.676 MB / 0.5165 GB, free: 20.46 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.6341, allocations: 12 kB / 0.5165 GB, free: 20.45 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.031e-05/0.6341, allocations: 19.92 kB / 0.5165 GB, free: 20.43 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/0.646, allocations: 11.33 MB / 0.5276 GB, free: 9.133 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.646, allocations: 4.594 kB / 0.5276 GB, free: 9.129 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/0.6474, allocations: 0.7225 MB / 0.5283 GB, free: 8.441 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001826/0.6492, allocations: 1.016 MB / 0.5293 GB, free: 7.418 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001544/0.6494, allocations: 91.97 kB / 0.5294 GB, free: 7.328 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005361/0.6547, allocations: 5.574 MB / 0.5348 GB, free: 1.66 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.6548, allocations: 6.625 kB / 0.5348 GB, free: 1.656 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006655/0.6614, allocations: 4.696 MB / 0.5394 GB, free: 12.86 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/0.6628, allocations: 0.8211 MB / 0.5402 GB, free: 12.04 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003434/0.6631, allocations: 76 kB / 0.5403 GB, free: 11.96 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009488/0.6641, allocations: 195.8 kB / 0.5405 GB, free: 11.77 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004127/0.6645, allocations: 302.7 kB / 0.5408 GB, free: 11.48 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/0.6647, allocations: 128 kB / 0.5409 GB, free: 11.35 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001858/0.6665, allocations: 1.518 MB / 0.5424 GB, free: 9.84 MB / 394.8 MB Notification: Performance of sort global known variables: time 9e-08/0.6665, allocations: 0 / 0.5424 GB, free: 9.84 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.004252/0.6708, allocations: 1.605 MB / 0.5439 GB, free: 8.234 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (389): * Single equations (assignments): 387 * 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,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005005/0.6713, allocations: 272.3 kB / 0.5442 GB, free: 8 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.005832/0.6771, allocations: 4.108 MB / 0.5482 GB, free: 4.094 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.6771, allocations: 0 / 0.5482 GB, free: 4.094 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002604/0.6797, allocations: 2.128 MB / 0.5503 GB, free: 2.027 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/0.6819, allocations: 0.9213 MB / 0.5512 GB, free: 1.148 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01829/0.7002, allocations: 13.81 MB / 0.5647 GB, free: 3.168 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002297/0.7025, allocations: 2.597 MB / 0.5672 GB, free: 0.5312 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.002751/0.7053, allocations: 1.61 MB / 0.5688 GB, free: 14.91 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006789/0.706, allocations: 356.3 kB / 0.5691 GB, free: 14.57 MB / 426.8 MB Notification: Performance of SimCode: time 2.785e-06/0.706, allocations: 0 / 0.5691 GB, free: 14.57 MB / 426.8 MB Notification: Performance of Templates: time 0.1783/0.8843, allocations: 63.46 MB / 0.6311 GB, free: 100.9 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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/IMC_Characteristics/IMC_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.675613144878298]