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.001036/0.001036, allocations: 114 kB / 17.28 MB, free: 6.219 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.0009636/0.0009636, allocations: 189.3 kB / 18.2 MB, free: 5.297 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.541/1.541, allocations: 205.1 MB / 224.1 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.002168/0.002168, allocations: 51.92 kB / 280.2 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1199, allocations: 46.62 MB / 326.8 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.004668/0.1246, allocations: 2.27 MB / 329 MB, free: 2.496 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.1262, allocations: 0.9519 MB / 330 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.1263, allocations: 7.938 kB / 330 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000427/0.1268, allocations: 79.77 kB / 330.1 MB, free: 1.449 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003333/0.1271, allocations: 115.4 kB / 330.2 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.1274, allocations: 115.8 kB / 330.3 MB, free: 1.223 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003312/0.1278, allocations: 278.8 kB / 330.6 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.128, allocations: 96.36 kB / 330.7 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.1282, allocations: 111.6 kB / 330.8 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.1284, allocations: 123.5 kB / 330.9 MB, free: 0.625 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.351e-05/0.1284, allocations: 20 kB / 330.9 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.1285, allocations: 51.92 kB / 331 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.413e-05/0.1286, allocations: 59.77 kB / 331 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.1288, allocations: 111.4 kB / 331.1 MB, free: 396 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003577/0.1291, allocations: 283.4 kB / 331.4 MB, free: 112 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.1291, allocations: 0 / 331.4 MB, free: 112 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1292, allocations: 0 / 331.4 MB, free: 112 kB / 270.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.1292, allocations: 4 kB / 331.4 MB, free: 108 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.0009269/0.1301, allocations: 0.5342 MB / 332 MB, free: 15.52 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1302, allocations: 12.03 kB / 332 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.1303, allocations: 28.64 kB / 332 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.1306, allocations: 264.5 kB / 332.3 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.1306, allocations: 16.38 kB / 332.3 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/0.1307, allocations: 24.12 kB / 332.3 MB, free: 15.15 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.131, allocations: 165.2 kB / 332.5 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.131, allocations: 0 / 332.5 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.1311, allocations: 4 kB / 332.5 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1311, allocations: 4 kB / 332.5 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.1313, allocations: 115.9 kB / 332.6 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007991/0.1321, allocations: 0.5585 MB / 333.1 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.1325, allocations: 170.4 kB / 333.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.1327, allocations: 84.83 kB / 333.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.1327, allocations: 8 kB / 333.4 MB, free: 13.98 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002578/0.133, allocations: 127.5 kB / 333.5 MB, free: 13.84 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 3.066e-06/0.133, allocations: 3.984 kB / 333.5 MB, free: 13.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004842/0.1335, allocations: 221.3 kB / 333.7 MB, free: 13.62 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.1335, allocations: 59.41 kB / 333.8 MB, free: 13.55 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.1338, allocations: 249 kB / 334 MB, free: 13.29 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.1338, allocations: 33.7 kB / 334.1 MB, free: 13.25 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.1339, allocations: 144.3 kB / 334.2 MB, free: 13.11 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.607e-05/0.134, allocations: 67.05 kB / 334.3 MB, free: 13.04 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-05/0.1341, allocations: 41.7 kB / 334.3 MB, free: 13 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1342, allocations: 338.8 kB / 334.7 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.1343, allocations: 47.98 kB / 334.7 MB, free: 12.61 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.1345, allocations: 91.33 kB / 334.8 MB, free: 12.51 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.1347, allocations: 143.4 kB / 334.9 MB, free: 12.36 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1347, allocations: 0 / 334.9 MB, free: 12.36 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000327/0.1351, allocations: 205.2 kB / 335.1 MB, free: 12.15 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1351, allocations: 8 kB / 335.1 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1351, allocations: 8.031 kB / 335.1 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1351, allocations: 0 / 335.1 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.1353, allocations: 51.91 kB / 335.2 MB, free: 12.08 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1353, allocations: 3.938 kB / 335.2 MB, free: 12.08 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.1355, allocations: 23.83 kB / 335.2 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.1355, allocations: 8 kB / 335.2 MB, free: 12.05 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.0001268/0.1356, allocations: 145.7 kB / 335.4 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.1357, allocations: 27.7 kB / 335.4 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.62e-05/0.1357, allocations: 26.19 kB / 335.4 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.1358, allocations: 4 kB / 335.4 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1358, allocations: 3.938 kB / 335.4 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1358, allocations: 3.984 kB / 335.4 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.136, allocations: 289.4 kB / 335.7 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.136, allocations: 0 / 335.7 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.1362, allocations: 31.98 kB / 335.7 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1362, allocations: 0 / 335.7 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.1363, allocations: 8 kB / 335.8 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1363, allocations: 0 / 335.8 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.1363, allocations: 7.938 kB / 335.8 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004669/0.1367, allocations: 288.7 kB / 336 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.1368, allocations: 88.92 kB / 336.1 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.1369, allocations: 4 kB / 336.1 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-05/0.137, allocations: 11.92 kB / 336.1 MB, free: 11.03 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.137, allocations: 19.92 kB / 336.2 MB, free: 11.01 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.137, allocations: 8.062 kB / 336.2 MB, free: 11 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.1372, allocations: 184.5 kB / 336.4 MB, free: 10.82 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1372, allocations: 0 / 336.4 MB, free: 10.82 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.1375, allocations: 67.83 kB / 336.4 MB, free: 10.75 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.0009237/0.1384, allocations: 414.3 kB / 336.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003272/0.1388, allocations: 143.9 kB / 337 MB, free: 10.21 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1388, allocations: 192 / 337 MB, free: 10.21 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.1389, allocations: 84.67 kB / 337.1 MB, free: 10.13 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.1393, allocations: 48.52 kB / 337.1 MB, free: 10.09 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009321/0.1402, allocations: 0.6185 MB / 337.7 MB, free: 9.438 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.1405, allocations: 0.7441 MB / 338.5 MB, free: 8.668 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001008/0.1406, allocations: 33.92 kB / 338.5 MB, free: 8.637 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.608e-05/0.1407, allocations: 19.44 kB / 338.5 MB, free: 8.617 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1407, allocations: 0 / 338.5 MB, free: 8.617 MB / 286.1 MB Notification: Performance of Templates: time 0.006081/0.1468, allocations: 2.638 MB / 341.2 MB, free: 5.977 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","../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches