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.001095/0.001095, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001077/0.001077, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.39/1.39, allocations: 205.1 MB / 225 MB, free: 12.3 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.001203/0.001203, allocations: 55.92 kB / 281.3 MB, free: 3.156 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09564/0.09685, allocations: 46.62 MB / 327.9 MB, free: 4.465 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.00386/0.1007, allocations: 2.221 MB / 330.2 MB, free: 2.219 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.1023, allocations: 0.9596 MB / 331.1 MB, free: 1.25 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.1024, allocations: 4 kB / 331.1 MB, free: 1.246 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.1028, allocations: 95.5 kB / 331.2 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.1031, allocations: 127.2 kB / 331.3 MB, free: 1.027 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.1035, allocations: 123.7 kB / 331.5 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.1038, allocations: 274.9 kB / 331.7 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.104, allocations: 92.36 kB / 331.8 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.1042, allocations: 115.5 kB / 331.9 MB, free: 444 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.1043, allocations: 123.5 kB / 332.1 MB, free: 320 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.44e-05/0.1044, allocations: 20 kB / 332.1 MB, free: 300 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.1046, allocations: 51.98 kB / 332.1 MB, free: 248 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-05/0.1046, allocations: 51.78 kB / 332.2 MB, free: 196 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.1048, allocations: 123.3 kB / 332.3 MB, free: 72 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003493/0.1051, allocations: 283.4 kB / 332.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1051, allocations: 0 / 332.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1052, allocations: 4 kB / 332.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.1052, allocations: 0 / 332.6 MB, free: 15.79 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.0008741/0.1061, allocations: 0.538 MB / 333.1 MB, free: 15.2 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1061, allocations: 8.031 kB / 333.1 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.1063, allocations: 28.66 kB / 333.2 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.1066, allocations: 268.6 kB / 333.4 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.1066, allocations: 8.375 kB / 333.4 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.916e-05/0.1067, allocations: 28.11 kB / 333.5 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.107, allocations: 165.2 kB / 333.6 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.1071, allocations: 3.938 kB / 333.6 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.1071, allocations: 8 kB / 333.6 MB, free: 14.65 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1071, allocations: 4 kB / 333.6 MB, free: 14.65 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.1073, allocations: 111.9 kB / 333.7 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008458/0.1082, allocations: 0.5585 MB / 334.3 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.1085, allocations: 166.5 kB / 334.5 MB, free: 13.76 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.1087, allocations: 92.83 kB / 334.6 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.1087, allocations: 4 kB / 334.6 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003036/0.109, allocations: 119.6 kB / 334.7 MB, free: 13.53 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.733e-06/0.1091, allocations: 0 / 334.7 MB, free: 13.53 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004897/0.1096, allocations: 237.2 kB / 334.9 MB, free: 13.29 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.1096, allocations: 55.41 kB / 335 MB, free: 13.23 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.1099, allocations: 253 kB / 335.2 MB, free: 12.97 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.1099, allocations: 29.7 kB / 335.2 MB, free: 12.93 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.885e-05/0.11, allocations: 144.3 kB / 335.4 MB, free: 12.79 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.852e-05/0.1101, allocations: 67.05 kB / 335.4 MB, free: 12.72 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-05/0.1101, allocations: 41.7 kB / 335.5 MB, free: 12.68 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1103, allocations: 334.8 kB / 335.8 MB, free: 12.34 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.1104, allocations: 51.98 kB / 335.9 MB, free: 12.29 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.1105, allocations: 91.39 kB / 335.9 MB, free: 12.19 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.1108, allocations: 139.4 kB / 336.1 MB, free: 12.04 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1108, allocations: 0 / 336.1 MB, free: 12.04 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000341/0.1111, allocations: 205.3 kB / 336.3 MB, free: 11.83 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.1112, allocations: 8 kB / 336.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1112, allocations: 3.938 kB / 336.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1112, allocations: 3.938 kB / 336.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.1114, allocations: 47.97 kB / 336.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.1114, allocations: 3.938 kB / 336.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.1115, allocations: 15.84 kB / 336.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.1116, allocations: 8 kB / 336.4 MB, free: 11.74 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.0001351/0.1117, allocations: 149.7 kB / 336.5 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.1117, allocations: 23.78 kB / 336.5 MB, free: 11.56 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.853e-05/0.1118, allocations: 30.17 kB / 336.6 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1118, allocations: 4 kB / 336.6 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1118, allocations: 3.938 kB / 336.6 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1119, allocations: 7.922 kB / 336.6 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.1121, allocations: 285.4 kB / 336.9 MB, free: 11.19 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1121, allocations: 4 kB / 336.9 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.1123, allocations: 35.92 kB / 336.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.1123, allocations: 7.984 kB / 336.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.1124, allocations: 4 kB / 336.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1124, allocations: 4 kB / 336.9 MB, free: 11.13 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.1124, allocations: 3.938 kB / 336.9 MB, free: 11.13 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004743/0.1129, allocations: 280.9 kB / 337.2 MB, free: 10.84 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.609e-05/0.1129, allocations: 92.94 kB / 337.3 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/0.113, allocations: 8 kB / 337.3 MB, free: 10.72 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.026e-05/0.1131, allocations: 7.938 kB / 337.3 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.1131, allocations: 19.92 kB / 337.3 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.1131, allocations: 8.062 kB / 337.3 MB, free: 10.68 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.1133, allocations: 188.5 kB / 337.5 MB, free: 10.5 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1133, allocations: 0 / 337.5 MB, free: 10.5 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.1136, allocations: 59.84 kB / 337.6 MB, free: 10.44 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.0009419/0.1145, allocations: 414.1 kB / 338 MB, free: 10.04 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003323/0.1149, allocations: 155.8 kB / 338.1 MB, free: 9.891 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1149, allocations: 192 / 338.1 MB, free: 9.891 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.115, allocations: 83.86 kB / 338.2 MB, free: 9.809 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.1154, allocations: 48.56 kB / 338.3 MB, free: 9.762 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009675/0.1163, allocations: 0.5772 MB / 338.8 MB, free: 9.148 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.1166, allocations: 0.744 MB / 339.6 MB, free: 8.379 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.102e-05/0.1167, allocations: 23.44 kB / 339.6 MB, free: 8.355 MB / 286.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1167, allocations: 4 kB / 339.6 MB, free: 8.352 MB / 286.1 MB Notification: Performance of Templates: time 0.004969/0.1217, allocations: 3.139 MB / 342.7 MB, free: 5.207 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","/var/lib/jenkins1/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