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.001141/0.001141, allocations: 114.7 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001201/0.001202, allocations: 204.5 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 57.69 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1081, allocations: 50.53 MB / 358.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003499/0.1116, allocations: 2.252 MB / 361.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.1136, allocations: 1.231 MB / 362.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.1138, allocations: 4 kB / 362.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.1141, allocations: 91.52 kB / 362.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004479/0.1146, allocations: 171 kB / 362.6 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.1149, allocations: 115.6 kB / 362.7 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004454/0.1154, allocations: 290.8 kB / 363 MB, free: 9.215 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.1156, allocations: 88.56 kB / 363.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.1159, allocations: 119.6 kB / 363.2 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.1161, allocations: 127.5 kB / 363.4 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.294e-05/0.1161, allocations: 16 kB / 363.4 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.1163, allocations: 59.92 kB / 363.4 MB, free: 8.809 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.213e-05/0.1164, allocations: 51.83 kB / 363.5 MB, free: 8.758 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.1166, allocations: 119.3 kB / 363.6 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004513/0.117, allocations: 287 kB / 363.9 MB, free: 8.359 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.632e-05/0.1171, allocations: 4 kB / 363.9 MB, free: 8.355 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1171, allocations: 0 / 363.9 MB, free: 8.355 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.1171, allocations: 0 / 363.9 MB, free: 8.355 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.001022/0.1181, allocations: 0.5572 MB / 364.4 MB, free: 7.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.1182, allocations: 8.031 kB / 364.4 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002367/0.1184, allocations: 28.66 kB / 364.5 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004589/0.1189, allocations: 263.6 kB / 364.7 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.1189, allocations: 16.38 kB / 364.7 MB, free: 7.402 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/0.119, allocations: 24.12 kB / 364.8 MB, free: 7.379 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.1193, allocations: 153.6 kB / 364.9 MB, free: 7.223 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.1193, allocations: 3.984 kB / 364.9 MB, free: 7.219 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.1194, allocations: 8 kB / 364.9 MB, free: 7.211 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.1194, allocations: 4 kB / 364.9 MB, free: 7.207 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002376/0.1196, allocations: 119.7 kB / 365.1 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00082/0.1204, allocations: 0.5663 MB / 365.6 MB, free: 6.473 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.1208, allocations: 162.5 kB / 365.8 MB, free: 6.305 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.1209, allocations: 87.23 kB / 365.9 MB, free: 6.219 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.1209, allocations: 0 / 365.9 MB, free: 6.219 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002058/0.1212, allocations: 115.4 kB / 366 MB, free: 6.094 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.1212, allocations: 3.938 kB / 366 MB, free: 6.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004841/0.1217, allocations: 240.7 kB / 366.2 MB, free: 5.852 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.1217, allocations: 51.41 kB / 366.3 MB, free: 5.789 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.122, allocations: 261 kB / 366.5 MB, free: 5.523 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.122, allocations: 29.7 kB / 366.5 MB, free: 5.488 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.1222, allocations: 148.3 kB / 366.7 MB, free: 5.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.777e-05/0.1223, allocations: 67.05 kB / 366.8 MB, free: 5.273 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.57e-05/0.1224, allocations: 45.7 kB / 366.8 MB, free: 5.223 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1225, allocations: 338.8 kB / 367.1 MB, free: 4.883 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.1226, allocations: 51.97 kB / 367.2 MB, free: 4.832 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.1228, allocations: 84.5 kB / 367.3 MB, free: 4.738 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.123, allocations: 150.9 kB / 367.4 MB, free: 4.582 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.123, allocations: 0 / 367.4 MB, free: 4.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003451/0.1234, allocations: 205.2 kB / 367.6 MB, free: 4.375 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1234, allocations: 8 kB / 367.6 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1234, allocations: 0 / 367.6 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1234, allocations: 0 / 367.6 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.1237, allocations: 47.92 kB / 367.7 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1237, allocations: 12.03 kB / 367.7 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.278e-05/0.1238, allocations: 15.75 kB / 367.7 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.1238, allocations: 15.98 kB / 367.7 MB, free: 4.277 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.0001216/0.1239, allocations: 146.4 kB / 367.9 MB, free: 4.125 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.124, allocations: 19.72 kB / 367.9 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.791e-05/0.124, allocations: 34.17 kB / 367.9 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.124, allocations: 4 kB / 367.9 MB, free: 4.066 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1241, allocations: 3.938 kB / 367.9 MB, free: 4.062 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1241, allocations: 3.984 kB / 367.9 MB, free: 4.059 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.1243, allocations: 293.5 kB / 368.2 MB, free: 3.723 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1243, allocations: 0 / 368.2 MB, free: 3.723 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.1245, allocations: 35.92 kB / 368.2 MB, free: 3.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1245, allocations: 0 / 368.2 MB, free: 3.688 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.1246, allocations: 8 kB / 368.2 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1246, allocations: 3.984 kB / 368.3 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1246, allocations: 3.938 kB / 368.3 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000477/0.1251, allocations: 276.7 kB / 368.5 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.428e-05/0.1252, allocations: 104.8 kB / 368.6 MB, free: 3.262 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.1252, allocations: 0 / 368.6 MB, free: 3.262 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.449e-05/0.1253, allocations: 15.92 kB / 368.6 MB, free: 3.246 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.1253, allocations: 7.984 kB / 368.7 MB, free: 3.238 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.1254, allocations: 8 kB / 368.7 MB, free: 3.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001764/0.1255, allocations: 196.5 kB / 368.9 MB, free: 3.039 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1255, allocations: 7.875 kB / 368.9 MB, free: 3.031 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000268/0.1258, allocations: 67.78 kB / 368.9 MB, free: 2.965 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.000922/0.1268, allocations: 400.6 kB / 369.3 MB, free: 2.703 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003232/0.1271, allocations: 139.9 kB / 369.5 MB, free: 2.566 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1271, allocations: 0 / 369.5 MB, free: 2.566 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.1272, allocations: 67.92 kB / 369.5 MB, free: 2.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.1276, allocations: 57.83 kB / 369.6 MB, free: 2.453 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009378/0.1285, allocations: 0.5445 MB / 370.1 MB, free: 1.879 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.1289, allocations: 0.7519 MB / 370.9 MB, free: 1.098 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.099e-05/0.129, allocations: 21.95 kB / 370.9 MB, free: 1.078 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.604e-05/0.129, allocations: 23.42 kB / 370.9 MB, free: 1.055 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.129, allocations: 4 kB / 370.9 MB, free: 1.051 MB / 302.1 MB Notification: Performance of Templates: time 0.1439/0.273, allocations: 2.68 MB / 373.6 MB, free: 19.64 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches