Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor") translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 101 kB / 16.94 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009756/0.0009756, allocations: 178.1 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005118/0.0005121, allocations: 12 kB / 280.7 MB, free: 3.766 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.115, allocations: 47.58 MB / 328.3 MB, free: 4.113 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.002417/0.1175, allocations: 1.777 MB / 330.1 MB, free: 2.32 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.1189, allocations: 0.8902 MB / 331 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.1191, allocations: 8 kB / 331 MB, free: 1.414 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003213/0.1194, allocations: 79.69 kB / 331.1 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.1197, allocations: 115.7 kB / 331.2 MB, free: 1.223 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.12, allocations: 103.7 kB / 331.3 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.1203, allocations: 195.6 kB / 331.5 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.1205, allocations: 76.56 kB / 331.6 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.1207, allocations: 95.62 kB / 331.6 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.1208, allocations: 99.59 kB / 331.7 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.1208, allocations: 8 kB / 331.8 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.121, allocations: 28 kB / 331.8 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.472e-05/0.1211, allocations: 47.81 kB / 331.8 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.55e-05/0.1211, allocations: 73.5 kB / 331.9 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.1214, allocations: 203.8 kB / 332.1 MB, free: 312 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1214, allocations: 4 kB / 332.1 MB, free: 308 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1214, allocations: 0 / 332.1 MB, free: 308 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1214, allocations: 0 / 332.1 MB, free: 308 kB / 270.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.0009602/0.1224, allocations: 0.5029 MB / 332.6 MB, free: 15.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/0.1225, allocations: 8.031 kB / 332.6 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.1227, allocations: 31.7 kB / 332.6 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.1231, allocations: 259.4 kB / 332.9 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.1231, allocations: 12 kB / 332.9 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.979e-05/0.1232, allocations: 12 kB / 332.9 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.1236, allocations: 169.1 kB / 333.1 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.1236, allocations: 0 / 333.1 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.1236, allocations: 8 kB / 333.1 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.1236, allocations: 4 kB / 333.1 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002639/0.1239, allocations: 111.9 kB / 333.2 MB, free: 15.1 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009583/0.1249, allocations: 0.5665 MB / 333.8 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003304/0.1252, allocations: 158.5 kB / 333.9 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.1253, allocations: 8 kB / 333.9 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000272/0.1255, allocations: 107.7 kB / 334 MB, free: 14.19 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.914e-06/0.1256, allocations: 0 / 334 MB, free: 14.19 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004785/0.126, allocations: 245.1 kB / 334.3 MB, free: 13.95 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.1261, allocations: 51.41 kB / 334.3 MB, free: 13.88 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.1263, allocations: 249 kB / 334.6 MB, free: 13.63 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.1264, allocations: 33.69 kB / 334.6 MB, free: 13.59 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.1265, allocations: 144.4 kB / 334.7 MB, free: 13.45 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/0.1265, allocations: 63.02 kB / 334.8 MB, free: 13.38 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/0.1266, allocations: 8 kB / 334.8 MB, free: 13.38 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1267, allocations: 330.8 kB / 335.1 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.1268, allocations: 47.98 kB / 335.2 MB, free: 13 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.1269, allocations: 83.58 kB / 335.3 MB, free: 12.9 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.1271, allocations: 72.88 kB / 335.3 MB, free: 12.83 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1271, allocations: 0 / 335.3 MB, free: 12.83 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003156/0.1274, allocations: 194.9 kB / 335.5 MB, free: 12.64 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1274, allocations: 11.94 kB / 335.5 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1274, allocations: 3.984 kB / 335.5 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.1275, allocations: 7.953 kB / 335.6 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.1277, allocations: 55.95 kB / 335.6 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.1277, allocations: 0 / 335.6 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.1278, allocations: 27.77 kB / 335.6 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.1279, allocations: 8 kB / 335.6 MB, free: 12.52 MB / 286.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 ($whenCondition1,$PRE.lossTable.nextTimeEvent,lossTable.nextTimeEvent,$PRE.lossTable.nextTimeEventScaled,lossTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.128, allocations: 141.8 kB / 335.8 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.128, allocations: 27.7 kB / 335.8 MB, free: 12.35 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.991e-05/0.1281, allocations: 26.17 kB / 335.8 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1281, allocations: 11.95 kB / 335.8 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1281, allocations: 0 / 335.8 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.1281, allocations: 7.984 kB / 335.9 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.1284, allocations: 285.4 kB / 336.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1284, allocations: 0 / 336.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.1286, allocations: 31.98 kB / 336.2 MB, free: 11.94 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1286, allocations: 4 kB / 336.2 MB, free: 11.94 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.1286, allocations: 4 kB / 336.2 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1286, allocations: 0 / 336.2 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1286, allocations: 7.953 kB / 336.2 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/0.1291, allocations: 276.8 kB / 336.5 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.34e-05/0.1292, allocations: 104.8 kB / 336.6 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.1292, allocations: 11.98 kB / 336.6 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.929e-05/0.1293, allocations: 4 kB / 336.6 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.1294, allocations: 15.94 kB / 336.6 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.1294, allocations: 4 kB / 336.6 MB, free: 11.48 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001619/0.1296, allocations: 188.5 kB / 336.8 MB, free: 11.3 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1296, allocations: 4.062 kB / 336.8 MB, free: 11.29 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.1299, allocations: 59.84 kB / 336.8 MB, free: 11.23 MB / 286.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.nextTimeEventScaled,lossTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009045/0.1308, allocations: 411.9 kB / 337.2 MB, free: 10.84 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003104/0.1311, allocations: 139.9 kB / 337.4 MB, free: 10.7 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1311, allocations: 0 / 337.4 MB, free: 10.7 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.1312, allocations: 67.92 kB / 337.4 MB, free: 10.64 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.1315, allocations: 48.78 kB / 337.5 MB, free: 10.59 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.1326, allocations: 0.6365 MB / 338.1 MB, free: 9.93 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.1329, allocations: 0.7482 MB / 338.9 MB, free: 9.156 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.133, allocations: 37.91 kB / 338.9 MB, free: 9.121 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.447e-05/0.1331, allocations: 27.44 kB / 338.9 MB, free: 9.094 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1331, allocations: 0 / 338.9 MB, free: 9.094 MB / 286.1 MB Notification: Performance of Templates: time 0.005897/0.139, allocations: 2.442 MB / 341.4 MB, free: 6.648 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches