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.001017/0.001017, allocations: 108.6 kB / 17.93 MB, free: 5.535 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.001101/0.001101, allocations: 189.8 kB / 18.86 MB, free: 4.613 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.519/1.519, allocations: 205.1 MB / 224.7 MB, free: 12.43 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.001381/0.001381, allocations: 47.94 kB / 280.8 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09909/0.1005, allocations: 46.62 MB / 327.4 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.004175/0.1047, allocations: 2.267 MB / 329.7 MB, free: 2.496 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.1065, allocations: 0.9597 MB / 330.7 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/0.1067, allocations: 4 kB / 330.7 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000429/0.1072, allocations: 87.69 kB / 330.7 MB, free: 1.438 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004485/0.1077, allocations: 111.4 kB / 330.9 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.1081, allocations: 107.8 kB / 331 MB, free: 1.223 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004002/0.1085, allocations: 278.8 kB / 331.2 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.1087, allocations: 92.36 kB / 331.3 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.1089, allocations: 111.6 kB / 331.4 MB, free: 0.75 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.1092, allocations: 131.5 kB / 331.6 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.669e-05/0.1093, allocations: 16 kB / 331.6 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002255/0.1095, allocations: 51.97 kB / 331.6 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.567e-05/0.1097, allocations: 55.78 kB / 331.7 MB, free: 0.5 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.1098, allocations: 115.3 kB / 331.8 MB, free: 396 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000334/0.1102, allocations: 219.8 kB / 332 MB, free: 176 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1102, allocations: 0 / 332 MB, free: 176 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1102, allocations: 0 / 332 MB, free: 176 kB / 270.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.1102, allocations: 0 / 332 MB, free: 176 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.0009381/0.1111, allocations: 0.5419 MB / 332.5 MB, free: 15.58 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.1112, allocations: 8.031 kB / 332.6 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002546/0.1115, allocations: 32.64 kB / 332.6 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003988/0.1119, allocations: 256.7 kB / 332.8 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.1119, allocations: 16.31 kB / 332.9 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.435e-05/0.112, allocations: 24.11 kB / 332.9 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/0.1123, allocations: 173.1 kB / 333 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1123, allocations: 0 / 333 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.1124, allocations: 8 kB / 333.1 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1124, allocations: 4 kB / 333.1 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002367/0.1126, allocations: 115.9 kB / 333.2 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000923/0.1136, allocations: 0.5585 MB / 333.7 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.1139, allocations: 166.5 kB / 333.9 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.1141, allocations: 84.83 kB / 334 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.325e-05/0.1142, allocations: 4 kB / 334 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002907/0.1145, allocations: 115.7 kB / 334.1 MB, free: 13.92 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 2.004e-06/0.1145, allocations: 0 / 334.1 MB, free: 13.92 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005122/0.115, allocations: 237.2 kB / 334.3 MB, free: 13.68 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.115, allocations: 55.41 kB / 334.4 MB, free: 13.61 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.1154, allocations: 253 kB / 334.6 MB, free: 13.36 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.1154, allocations: 29.7 kB / 334.7 MB, free: 13.32 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.592e-05/0.1155, allocations: 144.3 kB / 334.8 MB, free: 13.18 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.706e-05/0.1156, allocations: 67.05 kB / 334.9 MB, free: 13.11 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.849e-05/0.1156, allocations: 45.7 kB / 334.9 MB, free: 13.06 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1158, allocations: 334.8 kB / 335.2 MB, free: 12.72 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.1159, allocations: 51.92 kB / 335.3 MB, free: 12.67 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.116, allocations: 87.39 kB / 335.4 MB, free: 12.57 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/0.1164, allocations: 147.4 kB / 335.5 MB, free: 12.42 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1164, allocations: 0 / 335.5 MB, free: 12.42 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003753/0.1168, allocations: 205.2 kB / 335.7 MB, free: 12.21 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.1168, allocations: 4 kB / 335.7 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1168, allocations: 4 kB / 335.7 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1168, allocations: 0 / 335.7 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.1171, allocations: 48.06 kB / 335.8 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.1171, allocations: 7.938 kB / 335.8 MB, free: 12.15 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.1172, allocations: 23.78 kB / 335.8 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.1173, allocations: 4 kB / 335.8 MB, free: 12.12 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 ($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.000145/0.1174, allocations: 145.8 kB / 335.9 MB, free: 11.97 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.1175, allocations: 23.72 kB / 336 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.208e-05/0.1175, allocations: 30.17 kB / 336 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1176, allocations: 4 kB / 336 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.1176, allocations: 7.938 kB / 336 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1176, allocations: 3.984 kB / 336 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.1179, allocations: 293.3 kB / 336.3 MB, free: 11.56 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1179, allocations: 0 / 336.3 MB, free: 11.56 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.1181, allocations: 39.92 kB / 336.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.86e-06/0.1181, allocations: 3.938 kB / 336.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.1181, allocations: 8 kB / 336.4 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1182, allocations: 0 / 336.4 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.1182, allocations: 3.938 kB / 336.4 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005284/0.1187, allocations: 292.8 kB / 336.6 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.1188, allocations: 92.95 kB / 336.7 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.1189, allocations: 0 / 336.7 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.672e-05/0.119, allocations: 15.92 kB / 336.7 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.119, allocations: 11.98 kB / 336.8 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.119, allocations: 8 kB / 336.8 MB, free: 11.06 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.1192, allocations: 184.5 kB / 336.9 MB, free: 10.88 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1192, allocations: 4 kB / 337 MB, free: 10.88 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003024/0.1195, allocations: 63.83 kB / 337 MB, free: 10.81 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 (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.00125/0.1208, allocations: 414.3 kB / 337.4 MB, free: 10.41 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003715/0.1212, allocations: 147.8 kB / 337.6 MB, free: 10.27 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1212, allocations: 0 / 337.6 MB, free: 10.27 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.1213, allocations: 79.86 kB / 337.6 MB, free: 10.19 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.1218, allocations: 44.83 kB / 337.7 MB, free: 10.15 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.1229, allocations: 0.6553 MB / 338.3 MB, free: 9.457 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.1232, allocations: 0.744 MB / 339.1 MB, free: 8.688 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.457e-05/0.1233, allocations: 19.44 kB / 339.1 MB, free: 8.668 MB / 286.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1233, allocations: 0 / 339.1 MB, free: 8.668 MB / 286.1 MB Notification: Performance of Templates: time 0.006028/0.1294, allocations: 3.146 MB / 342.2 MB, free: 5.516 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins1/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