Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00109/0.00109, allocations: 109.6 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001203/0.001203, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 65.3 kB / 306.4 MB, free: 0.9453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09941/0.1017, allocations: 50.53 MB / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003673/0.1055, allocations: 2.298 MB / 359.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.1074, allocations: 1.208 MB / 360.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.1076, allocations: 4 kB / 360.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003635/0.108, allocations: 87.7 kB / 360.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004309/0.1084, allocations: 143.3 kB / 360.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.1087, allocations: 95.78 kB / 360.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003516/0.1091, allocations: 290.8 kB / 361.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.1092, allocations: 104.5 kB / 361.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.1094, allocations: 111.6 kB / 361.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.1096, allocations: 131.5 kB / 361.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.1096, allocations: 16 kB / 361.4 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.1098, allocations: 55.98 kB / 361.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.001e-05/0.1099, allocations: 55.77 kB / 361.5 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.11, allocations: 127.3 kB / 361.7 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.1103, allocations: 279.4 kB / 361.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1103, allocations: 8 kB / 362 MB, free: 9.395 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1103, allocations: 0 / 362 MB, free: 9.395 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.1103, allocations: 0 / 362 MB, free: 9.395 MB / 302.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.0007538/0.1111, allocations: 0.5535 MB / 362.5 MB, free: 8.793 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.1111, allocations: 8.031 kB / 362.5 MB, free: 8.785 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.1113, allocations: 28.66 kB / 362.5 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.1116, allocations: 271.4 kB / 362.8 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.1117, allocations: 12.38 kB / 362.8 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.078e-05/0.1117, allocations: 16.12 kB / 362.8 MB, free: 8.426 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/0.1121, allocations: 165.5 kB / 363 MB, free: 8.258 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.1121, allocations: 0 / 363 MB, free: 8.258 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.1121, allocations: 8 kB / 363 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.1121, allocations: 4 kB / 363 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002571/0.1124, allocations: 123.7 kB / 363.1 MB, free: 8.125 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008996/0.1133, allocations: 0.5585 MB / 363.7 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.1136, allocations: 158.5 kB / 363.8 MB, free: 7.352 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.1138, allocations: 88.83 kB / 363.9 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.1138, allocations: 4 kB / 363.9 MB, free: 7.258 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002815/0.1141, allocations: 121.7 kB / 364.1 MB, free: 7.129 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.1141, allocations: 0 / 364.1 MB, free: 7.129 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004816/0.1146, allocations: 229.6 kB / 364.3 MB, free: 6.898 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.1146, allocations: 59.41 kB / 364.3 MB, free: 6.828 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003364/0.115, allocations: 261 kB / 364.6 MB, free: 6.562 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.115, allocations: 33.7 kB / 364.6 MB, free: 6.523 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.358e-05/0.1151, allocations: 140.3 kB / 364.8 MB, free: 6.383 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.1153, allocations: 71.05 kB / 364.8 MB, free: 6.312 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.723e-05/0.1153, allocations: 37.7 kB / 364.9 MB, free: 6.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1155, allocations: 342.8 kB / 365.2 MB, free: 5.926 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.1156, allocations: 47.98 kB / 365.2 MB, free: 5.879 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.1158, allocations: 92.42 kB / 365.3 MB, free: 5.777 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.116, allocations: 142.4 kB / 365.5 MB, free: 5.629 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.116, allocations: 4 kB / 365.5 MB, free: 5.625 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003361/0.1164, allocations: 213.2 kB / 365.7 MB, free: 5.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1164, allocations: 4 kB / 365.7 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1164, allocations: 0 / 365.7 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1164, allocations: 4 kB / 365.7 MB, free: 5.402 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.1166, allocations: 47.91 kB / 365.7 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.1167, allocations: 7.938 kB / 365.8 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.1168, allocations: 23.75 kB / 365.8 MB, free: 5.324 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.1168, allocations: 11.98 kB / 365.8 MB, free: 5.312 MB / 302.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.0001256/0.1169, allocations: 138.6 kB / 365.9 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.117, allocations: 23.72 kB / 365.9 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.145e-05/0.1171, allocations: 34.17 kB / 366 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1171, allocations: 0 / 366 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.1171, allocations: 11.88 kB / 366 MB, free: 5.098 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.1171, allocations: 7.984 kB / 366 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.1173, allocations: 277.5 kB / 366.3 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1174, allocations: 0 / 366.3 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.1175, allocations: 35.98 kB / 366.3 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1176, allocations: 0 / 366.3 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.1176, allocations: 8 kB / 366.3 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.1176, allocations: 7.922 kB / 366.3 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.1176, allocations: 3.938 kB / 366.3 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005013/0.1181, allocations: 287.1 kB / 366.6 MB, free: 4.418 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-05/0.1182, allocations: 96.77 kB / 366.7 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.1182, allocations: 8 kB / 366.7 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1183, allocations: 19.98 kB / 366.7 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.1184, allocations: 11.98 kB / 366.7 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.1184, allocations: 4 kB / 366.7 MB, free: 4.262 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001883/0.1186, allocations: 196.5 kB / 366.9 MB, free: 4.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1186, allocations: 0 / 366.9 MB, free: 4.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002854/0.1189, allocations: 59.84 kB / 367 MB, free: 4.012 MB / 302.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.0009237/0.1198, allocations: 409.2 kB / 367.4 MB, free: 3.746 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000334/0.1202, allocations: 158.6 kB / 367.5 MB, free: 3.594 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1202, allocations: 0 / 367.5 MB, free: 3.594 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.1204, allocations: 75.91 kB / 367.6 MB, free: 3.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.1207, allocations: 44.39 kB / 367.7 MB, free: 3.477 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009855/0.1217, allocations: 0.6227 MB / 368.3 MB, free: 2.824 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.122, allocations: 0.748 MB / 369 MB, free: 2.051 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.1221, allocations: 25.94 kB / 369.1 MB, free: 2.027 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.465e-05/0.1222, allocations: 23.44 kB / 369.1 MB, free: 2.004 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1222, allocations: 0 / 369.1 MB, free: 2.004 MB / 302.1 MB Notification: Performance of Templates: time 0.1383/0.2605, allocations: 2.66 MB / 371.7 MB, free: 19.31 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches