Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.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.001765/0.001765, allocations: 73.64 kB / 21.24 MB, free: 0.5547 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.002148/0.002148, allocations: 161.7 kB / 24.5 MB, free: 3.711 MB / 14.72 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 1.463/1.463, allocations: 177.2 MB / 204.9 MB, free: 9.012 MB / 190.1 MB " [Timeout remaining time 178] 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.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=720000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor") translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=720000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 56.44 kB / 325.5 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1294, allocations: 53.34 MB / 378.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.005151/0.1346, allocations: 2.152 MB / 381 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003028/0.1376, allocations: 1.173 MB / 382.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.1378, allocations: 4 kB / 382.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004561/0.1382, allocations: 95.5 kB / 382.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005847/0.1388, allocations: 167.1 kB / 382.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.1392, allocations: 119.6 kB / 382.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004988/0.1397, allocations: 294.8 kB / 382.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.14, allocations: 60.77 kB / 382.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.1402, allocations: 119.5 kB / 383 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.1404, allocations: 119.5 kB / 383.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.835e-05/0.1405, allocations: 16 kB / 383.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.1407, allocations: 51.98 kB / 383.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.1408, allocations: 55.81 kB / 383.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.141, allocations: 103.4 kB / 383.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005766/0.1416, allocations: 302.7 kB / 383.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1416, allocations: 4 kB / 383.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1416, allocations: 0 / 383.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.1416, allocations: 0 / 383.7 MB, free: 10.84 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001087/0.1427, allocations: 0.4894 MB / 384.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.1427, allocations: 12.03 kB / 384.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.1429, allocations: 32.75 kB / 384.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004869/0.1434, allocations: 198 kB / 384.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.1434, allocations: 16.38 kB / 384.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.82e-05/0.1435, allocations: 28.05 kB / 384.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/0.1439, allocations: 153.6 kB / 384.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.144, allocations: 3.984 kB / 384.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.144, allocations: 12 kB / 384.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.144, allocations: 7.984 kB / 384.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003798/0.1444, allocations: 119.7 kB / 384.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.1455, allocations: 471.8 kB / 385.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004788/0.146, allocations: 154.5 kB / 385.4 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.1462, allocations: 80.81 kB / 385.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.1463, allocations: 4 kB / 385.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003134/0.1466, allocations: 119.6 kB / 385.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.094e-06/0.1466, allocations: 3.938 kB / 385.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007354/0.1473, allocations: 232.8 kB / 385.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.1474, allocations: 55.41 kB / 385.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/0.1478, allocations: 260.1 kB / 386.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.1478, allocations: 29.7 kB / 386.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.148, allocations: 156.3 kB / 386.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.056e-05/0.1481, allocations: 71.39 kB / 386.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.1482, allocations: 41.7 kB / 386.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.1484, allocations: 342.8 kB / 386.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.1486, allocations: 51.97 kB / 386.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.1488, allocations: 88 kB / 386.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004153/0.1492, allocations: 158.5 kB / 387 MB, free: 7.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1492, allocations: 3.938 kB / 387 MB, free: 7.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005457/0.1497, allocations: 205.3 kB / 387.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1497, allocations: 8 kB / 387.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1497, allocations: 0 / 387.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.1498, allocations: 4 kB / 387.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.1501, allocations: 47.91 kB / 387.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1501, allocations: 0 / 387.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.1502, allocations: 27.92 kB / 387.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.1503, allocations: 4 kB / 387.3 MB, free: 7.02 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.lossTable.nextTimeEvent,$whenCondition1,lossTable.nextTimeEventScaled,$PRE.lossTable.nextTimeEventScaled,lossTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001893/0.1505, allocations: 144.6 kB / 387.5 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.607e-05/0.1505, allocations: 27.8 kB / 387.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006081/0.1511, allocations: 218.5 kB / 387.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1511, allocations: 0 / 387.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.1511, allocations: 7.984 kB / 387.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1511, allocations: 0 / 387.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003593/0.1515, allocations: 213.1 kB / 387.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1515, allocations: 0 / 387.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/0.1518, allocations: 43.92 kB / 388 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1518, allocations: 0 / 388 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.1518, allocations: 8 kB / 388 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.1518, allocations: 4 kB / 388 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1518, allocations: 0 / 388 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007868/0.1526, allocations: 300.8 kB / 388.3 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.1527, allocations: 27.88 kB / 388.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.1527, allocations: 4 kB / 388.3 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.1528, allocations: 4 kB / 388.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/0.1529, allocations: 19.91 kB / 388.3 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.1529, allocations: 12.06 kB / 388.3 MB, free: 5.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000272/0.1532, allocations: 189.6 kB / 388.5 MB, free: 5.762 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1532, allocations: 0 / 388.5 MB, free: 5.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004894/0.1537, allocations: 67.81 kB / 388.6 MB, free: 5.695 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (winding.T,core.T) * Number of discrete variables: 3 ($whenCondition1,lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Number of discrete states: 2 (lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002134/0.1558, allocations: 443.6 kB / 389 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004919/0.1563, allocations: 142.9 kB / 389.1 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1563, allocations: 0 / 389.1 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.1565, allocations: 76.03 kB / 389.2 MB, free: 5.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004961/0.157, allocations: 58.95 kB / 389.3 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.1585, allocations: 0.5523 MB / 389.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.1587, allocations: 149.8 kB / 390 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00013/0.1588, allocations: 17.95 kB / 390 MB, free: 4.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.674e-05/0.1589, allocations: 28.48 kB / 390 MB, free: 4.379 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1589, allocations: 0 / 390 MB, free: 4.379 MB / 350.1 MB Notification: Performance of Templates: time 0.00946/0.1683, allocations: 2.648 MB / 392.7 MB, free: 1.766 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 8.498099918011576]