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.0009308/0.0009308, allocations: 78.66 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.0009187/0.0009187, allocations: 166 kB / 24.82 MB, free: 9.266 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.9867/0.9867, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.934e-06/1.934e-06, allocations: 0 / 273.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.348e-05/1.541e-05, allocations: 6.25 kB / 273.4 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1352/0.1352, allocations: 23.27 MB / 296.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01347/0.1487, allocations: 7.334 MB / 304 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003187/0.1518, allocations: 222.8 kB / 304.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01043/0.1623, allocations: 9.103 MB / 313.4 MB, free: 7.676 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00585/0.1681, allocations: 3.034 MB / 316.4 MB, free: 5.262 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.1709, allocations: 1.727 MB / 318.1 MB, free: 3.902 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01029/0.1812, allocations: 11.3 MB / 329.4 MB, free: 10.29 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02013/0.2013, allocations: 14.22 MB / 343.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01075/0.212, allocations: 8.706 MB / 352.3 MB, free: 3.211 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006691/0.2187, allocations: 6.223 MB / 358.6 MB, free: 12.97 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003228/0.222, allocations: 1.664 MB / 360.2 MB, free: 11.31 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002764/0.2247, allocations: 2.058 MB / 362.3 MB, free: 9.25 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001743/0.2265, allocations: 3.273 MB / 365.6 MB, free: 5.969 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00454/0.231, allocations: 4.121 MB / 369.7 MB, free: 1.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009332/0.2403, allocations: 10.41 MB / 380.1 MB, free: 7.398 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.2403, allocations: 4 kB / 380.1 MB, free: 7.395 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2404, allocations: 0 / 380.1 MB, free: 7.395 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001683/0.2405, allocations: 0 / 380.1 MB, free: 7.395 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.01484/0.2554, allocations: 12.69 MB / 392.8 MB, free: 10.6 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.2554, allocations: 8.031 kB / 392.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0156/0.271, allocations: 6.001 MB / 398.8 MB, free: 4.582 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006191/0.2772, allocations: 6.272 MB / 405.1 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003183/0.2775, allocations: 0.7063 MB / 405.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009182/0.2784, allocations: 0.9296 MB / 406.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008566/0.287, allocations: 7.582 MB / 414.3 MB, free: 4.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001253/0.2871, allocations: 15.89 kB / 414.3 MB, free: 4.895 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005979/0.2877, allocations: 392 kB / 414.7 MB, free: 4.512 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003356/0.288, allocations: 0.5547 MB / 415.2 MB, free: 3.953 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005308/0.2934, allocations: 3.597 MB / 418.8 MB, free: 320 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2521/0.5454, allocations: 40.27 MB / 459.1 MB, free: 72.75 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00626/0.5517, allocations: 6.585 MB / 465.7 MB, free: 72.34 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.5527, allocations: 1.157 MB / 466.9 MB, free: 72.29 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/0.5529, allocations: 152.7 kB / 467 MB, free: 72.26 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.5529, allocations: 82.2 kB / 467.1 MB, free: 72.21 MB / 378.8 MB Notification: Performance of pre-optimization done (n=398): time 5e-06/0.5529, allocations: 0 / 467.1 MB, free: 72.21 MB / 378.8 MB Notification: Performance of matching and sorting (n=404): time 0.0141/0.567, allocations: 8.562 MB / 475.7 MB, free: 70.98 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.5671, allocations: 97.3 kB / 475.7 MB, free: 70.91 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002597/0.5697, allocations: 3.254 MB / 479 MB, free: 70.41 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001392/0.5698, allocations: 86.3 kB / 479.1 MB, free: 70.38 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00151/0.5713, allocations: 4.388 MB / 483.5 MB, free: 67.69 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007402/0.5721, allocations: 1.489 MB / 485 MB, free: 66.5 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001196/0.5733, allocations: 1.292 MB / 486.3 MB, free: 65.49 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 5.528e-05/0.5733, allocations: 484.7 kB / 486.7 MB, free: 65.01 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007942/0.5741, allocations: 0.6671 MB / 487.4 MB, free: 64.34 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001645/0.5758, allocations: 3.945 MB / 491.3 MB, free: 59.2 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002991/0.5787, allocations: 5.171 MB / 496.5 MB, free: 53.09 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.085e-05/0.5788, allocations: 20 kB / 496.5 MB, free: 53.07 MB / 378.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.004742/0.5835, allocations: 4.839 MB / 0.4896 GB, free: 48.7 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.5835, allocations: 32 kB / 0.4897 GB, free: 48.67 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.955e-05/0.5836, allocations: 76.03 kB / 0.4897 GB, free: 48.6 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001768/0.5854, allocations: 1.079 MB / 0.4908 GB, free: 47.53 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/0.5873, allocations: 1.234 MB / 0.492 GB, free: 46.39 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00484/0.5922, allocations: 5.735 MB / 0.4976 GB, free: 40.69 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.5937, allocations: 215.8 kB / 0.4978 GB, free: 40.48 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002226/0.5939, allocations: 244 kB / 0.498 GB, free: 40.24 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.001377/0.5953, allocations: 0.5396 MB / 0.4985 GB, free: 39.78 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004856/0.5957, allocations: 0.5209 MB / 0.4991 GB, free: 39.26 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00361/0.5994, allocations: 3.303 MB / 0.5023 GB, free: 35.97 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002692/0.602, allocations: 2.318 MB / 0.5045 GB, free: 33.67 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.6021, allocations: 12 kB / 0.5046 GB, free: 33.66 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-05/0.6021, allocations: 19.92 kB / 0.5046 GB, free: 33.64 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/0.6129, allocations: 10.86 MB / 0.5152 GB, free: 23.75 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.6129, allocations: 8 kB / 0.5152 GB, free: 23.75 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/0.6142, allocations: 0.6451 MB / 0.5158 GB, free: 23.14 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001595/0.6158, allocations: 0.9845 MB / 0.5168 GB, free: 22.16 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001505/0.6159, allocations: 94.27 kB / 0.5169 GB, free: 22.07 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004369/0.6203, allocations: 5.304 MB / 0.5221 GB, free: 16.77 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.6203, allocations: 7.75 kB / 0.5221 GB, free: 16.77 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004266/0.6246, allocations: 4.142 MB / 0.5261 GB, free: 12.61 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008584/0.6254, allocations: 0.7575 MB / 0.5268 GB, free: 11.85 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002517/0.6257, allocations: 76 kB / 0.5269 GB, free: 11.77 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007654/0.6264, allocations: 108 kB / 0.527 GB, free: 11.67 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002844/0.6267, allocations: 306.9 kB / 0.5273 GB, free: 11.37 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/0.6269, allocations: 96 kB / 0.5274 GB, free: 11.27 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001047/0.6279, allocations: 1.402 MB / 0.5288 GB, free: 10.01 MB / 378.8 MB Notification: Performance of sort global known variables: time 9e-08/0.6279, allocations: 0 / 0.5288 GB, free: 10.01 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003379/0.6313, allocations: 1.605 MB / 0.5303 GB, free: 8.402 MB / 378.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.0003387/0.6316, allocations: 284.3 kB / 0.5306 GB, free: 8.16 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.003605/0.6352, allocations: 3.729 MB / 0.5343 GB, free: 4.703 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.6352, allocations: 0 / 0.5343 GB, free: 4.703 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001761/0.637, allocations: 1.937 MB / 0.5361 GB, free: 2.871 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/0.6389, allocations: 0.908 MB / 0.537 GB, free: 2.008 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/0.6545, allocations: 13.67 MB / 0.5504 GB, free: 4.242 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001985/0.6565, allocations: 2.601 MB / 0.5529 GB, free: 1.602 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.001591/0.6581, allocations: 0.6739 MB / 0.5536 GB, free: 0.9219 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001549/0.6596, allocations: 0.986 MB / 0.5545 GB, free: 15.93 MB / 410.8 MB Notification: Performance of SimCode: time 1.363e-06/0.6596, allocations: 0 / 0.5545 GB, free: 15.93 MB / 410.8 MB Notification: Performance of Templates: time 0.1978/0.8574, allocations: 65.99 MB / 0.619 GB, free: 117.1 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.464286210946739]