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.001115/0.001115, allocations: 99.55 kB / 17.58 MB, free: 5.418 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.001027/0.001027, allocations: 192.1 kB / 18.51 MB, free: 4.508 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.424/1.424, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001614/0.001614, allocations: 47.92 kB / 280.6 MB, free: 3.188 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09858/0.1002, allocations: 46.63 MB / 327.3 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.004465/0.1047, allocations: 2.221 MB / 329.5 MB, free: 2.238 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.1066, allocations: 0.9673 MB / 330.5 MB, free: 1.262 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002243/0.1069, allocations: 4 kB / 330.5 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005005/0.1074, allocations: 91.5 kB / 330.6 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004673/0.1079, allocations: 119.3 kB / 330.7 MB, free: 1.051 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.1083, allocations: 127.6 kB / 330.8 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004253/0.1088, allocations: 286.8 kB / 331.1 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.109, allocations: 84.36 kB / 331.2 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.1092, allocations: 111.6 kB / 331.3 MB, free: 464 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.1094, allocations: 123.5 kB / 331.4 MB, free: 340 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.523e-05/0.1095, allocations: 20 kB / 331.4 MB, free: 320 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002076/0.1097, allocations: 55.92 kB / 331.5 MB, free: 264 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.041e-05/0.1098, allocations: 59.77 kB / 331.5 MB, free: 204 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.11, allocations: 119.4 kB / 331.6 MB, free: 84 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004959/0.1105, allocations: 279.4 kB / 331.9 MB, free: 15.81 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1105, allocations: 0 / 331.9 MB, free: 15.81 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1105, allocations: 0 / 331.9 MB, free: 15.81 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.1105, allocations: 0 / 331.9 MB, free: 15.81 MB / 286.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.0009539/0.1115, allocations: 0.5497 MB / 332.5 MB, free: 15.21 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.1115, allocations: 8.031 kB / 332.5 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.1117, allocations: 28.66 kB / 332.5 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.112, allocations: 260.6 kB / 332.8 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.112, allocations: 8.375 kB / 332.8 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.112, allocations: 24.11 kB / 332.8 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.1124, allocations: 169.1 kB / 332.9 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.708e-05/0.1124, allocations: 4 kB / 333 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.1124, allocations: 4 kB / 333 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1125, allocations: 4 kB / 333 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002379/0.1127, allocations: 115.9 kB / 333.1 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009847/0.1137, allocations: 0.5624 MB / 333.6 MB, free: 13.94 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.114, allocations: 158.5 kB / 333.8 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.1142, allocations: 88.83 kB / 333.9 MB, free: 13.69 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.1142, allocations: 4 kB / 333.9 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.1145, allocations: 127.6 kB / 334 MB, free: 13.55 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.873e-06/0.1145, allocations: 0 / 334 MB, free: 13.55 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005041/0.115, allocations: 233.2 kB / 334.2 MB, free: 13.31 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.1151, allocations: 55.41 kB / 334.3 MB, free: 13.25 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.1153, allocations: 249 kB / 334.5 MB, free: 12.99 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.1153, allocations: 25.7 kB / 334.6 MB, free: 12.96 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.1155, allocations: 152.3 kB / 334.7 MB, free: 12.81 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.752e-05/0.1155, allocations: 71.02 kB / 334.8 MB, free: 12.74 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.677e-05/0.1156, allocations: 37.72 kB / 334.8 MB, free: 12.7 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1157, allocations: 338.8 kB / 335.1 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1159, allocations: 55.91 kB / 335.2 MB, free: 12.3 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.116, allocations: 83.41 kB / 335.3 MB, free: 12.21 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.1163, allocations: 143.4 kB / 335.4 MB, free: 12.05 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1163, allocations: 0 / 335.4 MB, free: 12.05 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003412/0.1166, allocations: 205.2 kB / 335.6 MB, free: 11.85 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1167, allocations: 8 kB / 335.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1167, allocations: 0 / 335.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.1167, allocations: 4.094 kB / 335.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.1169, allocations: 55.86 kB / 335.7 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.1169, allocations: 3.938 kB / 335.7 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.481e-05/0.117, allocations: 11.84 kB / 335.7 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.117, allocations: 15.98 kB / 335.7 MB, free: 11.75 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.0001453/0.1172, allocations: 141.7 kB / 335.9 MB, free: 11.6 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.1172, allocations: 19.72 kB / 335.9 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.344e-05/0.1173, allocations: 38.16 kB / 335.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1173, allocations: 4 kB / 335.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1173, allocations: 7.938 kB / 335.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1174, allocations: 3.984 kB / 335.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.1177, allocations: 281.4 kB / 336.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1177, allocations: 0 / 336.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.1179, allocations: 39.98 kB / 336.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.1179, allocations: 4 kB / 336.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.1179, allocations: 0 / 336.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1179, allocations: 3.938 kB / 336.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.1179, allocations: 11.88 kB / 336.3 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004899/0.1184, allocations: 284.9 kB / 336.5 MB, free: 10.85 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.929e-05/0.1185, allocations: 88.95 kB / 336.6 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.1186, allocations: 8 kB / 336.6 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.902e-05/0.1186, allocations: 7.938 kB / 336.6 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.1187, allocations: 15.97 kB / 336.7 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.1187, allocations: 4 kB / 336.7 MB, free: 10.71 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001683/0.1189, allocations: 184.5 kB / 336.8 MB, free: 10.53 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1189, allocations: 0 / 336.8 MB, free: 10.53 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002863/0.1192, allocations: 63.91 kB / 336.9 MB, free: 10.46 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.0009324/0.1201, allocations: 426.2 kB / 337.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003531/0.1205, allocations: 151.8 kB / 337.5 MB, free: 9.906 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1205, allocations: 0 / 337.5 MB, free: 9.906 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.1207, allocations: 79.8 kB / 337.5 MB, free: 9.828 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.121, allocations: 44.83 kB / 337.6 MB, free: 9.785 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.1221, allocations: 0.5405 MB / 338.1 MB, free: 9.215 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.1225, allocations: 0.748 MB / 338.9 MB, free: 8.441 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.1226, allocations: 33.92 kB / 338.9 MB, free: 8.41 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.232e-05/0.1227, allocations: 23.44 kB / 338.9 MB, free: 8.387 MB / 286.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1227, allocations: 3.938 kB / 338.9 MB, free: 8.383 MB / 286.1 MB Notification: Performance of Templates: time 0.007523/0.1302, allocations: 2.659 MB / 341.6 MB, free: 5.723 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches