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.001727/0.001727, allocations: 118.8 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001925/0.001925, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.4 MB / 246.5 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 67.64 kB / 306.5 MB, free: 0.918 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1026, allocations: 50.54 MB / 357 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003941/0.1065, allocations: 2.294 MB / 359.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.1086, allocations: 1.216 MB / 360.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.1088, allocations: 4 kB / 360.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004193/0.1092, allocations: 87.69 kB / 360.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003962/0.1096, allocations: 139.3 kB / 360.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.1099, allocations: 95.78 kB / 360.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000363/0.1103, allocations: 290.8 kB / 361.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002113/0.1105, allocations: 100.5 kB / 361.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.1107, allocations: 115.6 kB / 361.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.1109, allocations: 131.5 kB / 361.5 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.1109, allocations: 16 kB / 361.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.111, allocations: 51.98 kB / 361.6 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.257e-05/0.1111, allocations: 63.77 kB / 361.6 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.1113, allocations: 123.3 kB / 361.7 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003548/0.1116, allocations: 283.4 kB / 362 MB, free: 9.363 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.1116, allocations: 4 kB / 362 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1116, allocations: 0 / 362 MB, free: 9.359 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1117, allocations: 0 / 362 MB, free: 9.359 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.0008662/0.1125, allocations: 0.5522 MB / 362.6 MB, free: 8.762 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.1126, allocations: 8.031 kB / 362.6 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.1127, allocations: 32.64 kB / 362.6 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.1131, allocations: 267.4 kB / 362.9 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.1131, allocations: 16.38 kB / 362.9 MB, free: 8.406 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.1132, allocations: 28.05 kB / 362.9 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.1135, allocations: 153.6 kB / 363.1 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1136, allocations: 0 / 363.1 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.1136, allocations: 4 kB / 363.1 MB, free: 8.219 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.1136, allocations: 8 kB / 363.1 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002587/0.1139, allocations: 119.7 kB / 363.2 MB, free: 8.094 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009332/0.1148, allocations: 0.5663 MB / 363.8 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.1152, allocations: 158.5 kB / 363.9 MB, free: 7.312 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.1153, allocations: 84.83 kB / 364 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.1154, allocations: 8 kB / 364 MB, free: 7.219 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002905/0.1157, allocations: 111.3 kB / 364.1 MB, free: 7.098 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.1157, allocations: 3.938 kB / 364.1 MB, free: 7.094 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.00052/0.1162, allocations: 239.9 kB / 364.4 MB, free: 6.855 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.1163, allocations: 51.41 kB / 364.4 MB, free: 6.793 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.1166, allocations: 261 kB / 364.7 MB, free: 6.527 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.1166, allocations: 25.7 kB / 364.7 MB, free: 6.496 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.1167, allocations: 148.3 kB / 364.8 MB, free: 6.348 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.242e-05/0.1168, allocations: 67.03 kB / 364.9 MB, free: 6.281 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.31e-05/0.1169, allocations: 45.7 kB / 364.9 MB, free: 6.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.117, allocations: 334.8 kB / 365.3 MB, free: 5.895 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.1172, allocations: 51.98 kB / 365.3 MB, free: 5.844 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.1173, allocations: 88.48 kB / 365.4 MB, free: 5.746 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.1176, allocations: 150.3 kB / 365.5 MB, free: 5.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1176, allocations: 4 kB / 365.6 MB, free: 5.586 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003622/0.118, allocations: 201.2 kB / 365.7 MB, free: 5.383 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.118, allocations: 4 kB / 365.8 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.118, allocations: 4 kB / 365.8 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.118, allocations: 0 / 365.8 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.1182, allocations: 51.91 kB / 365.8 MB, free: 5.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1183, allocations: 7.938 kB / 365.8 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.1184, allocations: 27.84 kB / 365.8 MB, free: 5.289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.1184, allocations: 4 kB / 365.8 MB, free: 5.285 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.000154/0.1186, allocations: 146.5 kB / 366 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.1186, allocations: 23.72 kB / 366 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.591e-05/0.1187, allocations: 34.11 kB / 366 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.1187, allocations: 4 kB / 366 MB, free: 5.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.1187, allocations: 3.938 kB / 366.1 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1187, allocations: 0 / 366.1 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003244/0.1191, allocations: 289.5 kB / 366.3 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1191, allocations: 4 kB / 366.3 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.1193, allocations: 39.92 kB / 366.4 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.1193, allocations: 4 kB / 366.4 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.1193, allocations: 4 kB / 366.4 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1193, allocations: 0 / 366.4 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1193, allocations: 7.938 kB / 366.4 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005202/0.1198, allocations: 284.7 kB / 366.7 MB, free: 4.379 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-05/0.1199, allocations: 96.8 kB / 366.8 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.12, allocations: 12.06 kB / 366.8 MB, free: 4.254 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.372e-05/0.1201, allocations: 11.92 kB / 366.8 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.1201, allocations: 11.98 kB / 366.8 MB, free: 4.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.1201, allocations: 8 kB / 366.8 MB, free: 4.223 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001959/0.1203, allocations: 196.5 kB / 367 MB, free: 4.031 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1204, allocations: 0 / 367 MB, free: 4.031 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.1206, allocations: 55.84 kB / 367.1 MB, free: 3.977 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.001491/0.1221, allocations: 414.4 kB / 367.5 MB, free: 3.703 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003783/0.1225, allocations: 159.2 kB / 367.6 MB, free: 3.551 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1225, allocations: 0 / 367.6 MB, free: 3.551 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.1227, allocations: 74.66 kB / 367.7 MB, free: 3.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.123, allocations: 47.78 kB / 367.7 MB, free: 3.438 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.1241, allocations: 0.6149 MB / 368.3 MB, free: 2.793 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.1245, allocations: 0.7558 MB / 369.1 MB, free: 2.012 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001118/0.1246, allocations: 33.88 kB / 369.1 MB, free: 1.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.597e-05/0.1247, allocations: 19.44 kB / 369.2 MB, free: 1.961 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1247, allocations: 0 / 369.2 MB, free: 1.961 MB / 302.1 MB Notification: Performance of Templates: time 0.1419/0.2666, allocations: 2.651 MB / 371.8 MB, free: 19.27 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.1.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