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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001623/0.001623, allocations: 112.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001989/0.001989, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 230.2 MB / 255.1 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] 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=720000,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=720000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 63.89 kB / 374.5 MB, free: 9.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09791/0.09971, allocations: 53.32 MB / 427.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003898/0.1036, allocations: 2.266 MB / 430.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002276/0.1059, allocations: 1.227 MB / 431.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.106, allocations: 8 kB / 431.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003583/0.1064, allocations: 87.5 kB / 431.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004862/0.1069, allocations: 167 kB / 431.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.1072, allocations: 119.6 kB / 431.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003632/0.1076, allocations: 298.7 kB / 432 MB, free: 352 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.1078, allocations: 68.58 kB / 432 MB, free: 280 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.1079, allocations: 111.6 kB / 432.2 MB, free: 168 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.1081, allocations: 135.5 kB / 432.3 MB, free: 32 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.1082, allocations: 16 kB / 432.3 MB, free: 16 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.1083, allocations: 52.03 kB / 432.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.542e-05/0.1084, allocations: 59.66 kB / 432.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.1085, allocations: 119.4 kB / 432.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004112/0.109, allocations: 298.8 kB / 432.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.109, allocations: 3.938 kB / 432.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.109, allocations: 0 / 432.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.109, allocations: 0 / 432.8 MB, free: 15.49 MB / 366.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.0008829/0.1098, allocations: 0.5569 MB / 433.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1099, allocations: 11.97 kB / 433.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.11, allocations: 32.75 kB / 433.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.1104, allocations: 259.9 kB / 433.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.1104, allocations: 12.38 kB / 433.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/0.1105, allocations: 24.38 kB / 433.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.1108, allocations: 157.9 kB / 433.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.1108, allocations: 0 / 433.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.1108, allocations: 12 kB / 433.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1109, allocations: 4 kB / 433.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002639/0.1111, allocations: 119.5 kB / 434 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009167/0.112, allocations: 0.5625 MB / 434.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003389/0.1124, allocations: 154.5 kB / 434.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.1125, allocations: 80.81 kB / 434.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.1126, allocations: 4.344 kB / 434.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002508/0.1128, allocations: 123.2 kB / 434.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.1128, allocations: 0 / 434.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005407/0.1134, allocations: 236 kB / 435.1 MB, free: 13 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.1134, allocations: 51.41 kB / 435.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.1137, allocations: 257 kB / 435.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.1137, allocations: 29.7 kB / 435.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.1138, allocations: 148.4 kB / 435.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.983e-05/0.1139, allocations: 71.42 kB / 435.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.592e-05/0.114, allocations: 49.66 kB / 435.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1141, allocations: 342.8 kB / 436.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.1142, allocations: 43.98 kB / 436.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.1144, allocations: 87.34 kB / 436.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.1147, allocations: 151.3 kB / 436.4 MB, free: 11.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1147, allocations: 3.938 kB / 436.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000371/0.115, allocations: 208.8 kB / 436.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.1151, allocations: 8 kB / 436.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1151, allocations: 0 / 436.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1151, allocations: 4 kB / 436.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.1153, allocations: 51.91 kB / 436.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1153, allocations: 0 / 436.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.1154, allocations: 23.92 kB / 436.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.1154, allocations: 8 kB / 436.7 MB, free: 11.41 MB / 366.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.0001477/0.1156, allocations: 144.1 kB / 436.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.1156, allocations: 23.86 kB / 436.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.747e-05/0.1157, allocations: 38.11 kB / 436.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1157, allocations: 0 / 436.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1157, allocations: 0 / 436.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1157, allocations: 3.938 kB / 436.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.116, allocations: 293.4 kB / 437.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.116, allocations: 4 kB / 437.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.1162, allocations: 31.98 kB / 437.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1162, allocations: 0 / 437.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.1162, allocations: 8 kB / 437.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1162, allocations: 0 / 437.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1162, allocations: 0 / 437.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005478/0.1168, allocations: 288.7 kB / 437.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.125e-05/0.1169, allocations: 101 kB / 437.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.1169, allocations: 4 kB / 437.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.394e-05/0.117, allocations: 8 kB / 437.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.117, allocations: 15.92 kB / 437.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.1171, allocations: 15.98 kB / 437.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001911/0.1173, allocations: 188.5 kB / 437.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1173, allocations: 0 / 437.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.1175, allocations: 59.89 kB / 437.9 MB, free: 10.12 MB / 366.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.001518/0.1191, allocations: 420.3 kB / 438.3 MB, free: 9.852 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000338/0.1194, allocations: 131.8 kB / 438.4 MB, free: 9.723 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1194, allocations: 0 / 438.4 MB, free: 9.723 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.1195, allocations: 70.83 kB / 438.5 MB, free: 9.656 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.1199, allocations: 51.44 kB / 438.5 MB, free: 9.609 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.1209, allocations: 0.569 MB / 439.1 MB, free: 9.008 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.1213, allocations: 0.7595 MB / 439.8 MB, free: 8.223 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.906e-05/0.1214, allocations: 23.42 kB / 439.9 MB, free: 8.199 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1214, allocations: 4 kB / 439.9 MB, free: 8.195 MB / 366.1 MB Notification: Performance of Templates: time 0.005788/0.1272, allocations: 3.203 MB / 443.1 MB, free: 4.992 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 14.10316251590848]