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.001457/0.001457, allocations: 88.28 kB / 20.96 MB, free: 3.449 MB / 18.57 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.001592/0.001592, allocations: 156.9 kB / 24.26 MB, free: 144 kB / 18.57 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.48/1.48, allocations: 177 MB / 204.4 MB, free: 5.602 MB / 186.7 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=7200,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=7200,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.645e-05/3.877e-05, allocations: 2.312 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.005994/0.006033, allocations: 2.148 MB / 274.3 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003344/0.009377, allocations: 1.183 MB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.009537, allocations: 4 kB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005245/0.01006, allocations: 87.5 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006866/0.01075, allocations: 174.9 kB / 275.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.01119, allocations: 111.6 kB / 275.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005428/0.01173, allocations: 310.6 kB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.01198, allocations: 64.77 kB / 276.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003342/0.01231, allocations: 163.6 kB / 276.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.01261, allocations: 111.7 kB / 276.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.98e-05/0.01268, allocations: 16 kB / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.0129, allocations: 55.92 kB / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.01302, allocations: 51.83 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.0132, allocations: 79.77 kB / 276.7 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006648/0.01387, allocations: 299 kB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.01387, allocations: 0 / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.01388, allocations: 0 / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.01388, allocations: 0 / 277 MB, free: 12.96 MB / 266.7 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.001387/0.01527, allocations: 489.4 kB / 277.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.018e-05/0.01534, allocations: 15.98 kB / 277.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003326/0.01567, allocations: 52.69 kB / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005397/0.01621, allocations: 197.3 kB / 277.7 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.01624, allocations: 8.375 kB / 277.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.681e-05/0.01632, allocations: 20.31 kB / 277.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000605/0.01692, allocations: 173.9 kB / 277.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.01695, allocations: 192 / 277.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.134e-05/0.01699, allocations: 8.375 kB / 277.9 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.017, allocations: 7.938 kB / 278 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004924/0.0175, allocations: 127.9 kB / 278.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.01904, allocations: 467.9 kB / 278.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006334/0.01967, allocations: 150.5 kB / 278.7 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.01997, allocations: 84.83 kB / 278.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.02001, allocations: 4 kB / 278.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004293/0.02044, allocations: 130.8 kB / 278.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 2.144e-06/0.02044, allocations: 0 / 278.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.001049/0.02149, allocations: 241.4 kB / 279.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/0.02156, allocations: 51.41 kB / 279.2 MB, free: 10.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005541/0.02211, allocations: 264.1 kB / 279.4 MB, free: 10.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/0.02216, allocations: 29.7 kB / 279.5 MB, free: 10.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.02238, allocations: 148.4 kB / 279.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.0225, allocations: 71.39 kB / 279.7 MB, free: 10.13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.02263, allocations: 45.7 kB / 279.7 MB, free: 10.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002732/0.02291, allocations: 330.8 kB / 280.1 MB, free: 9.746 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.02312, allocations: 55.91 kB / 280.1 MB, free: 9.691 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/0.02341, allocations: 87.34 kB / 280.2 MB, free: 9.594 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005184/0.02393, allocations: 155.3 kB / 280.3 MB, free: 9.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/0.02394, allocations: 4 kB / 280.4 MB, free: 9.426 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007736/0.02472, allocations: 216.8 kB / 280.6 MB, free: 9.211 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/0.02475, allocations: 8 kB / 280.6 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.02476, allocations: 3.984 kB / 280.6 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.919e-05/0.0248, allocations: 4 kB / 280.6 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/0.02524, allocations: 43.92 kB / 280.6 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.02525, allocations: 0 / 280.6 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.02543, allocations: 19.83 kB / 280.6 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.02546, allocations: 12 kB / 280.7 MB, free: 9.121 MB / 266.7 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.0002616/0.02572, allocations: 149.7 kB / 280.8 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.624e-05/0.02582, allocations: 35.86 kB / 280.8 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008057/0.02662, allocations: 215.3 kB / 281 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.02663, allocations: 0 / 281 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.02664, allocations: 4 kB / 281 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.02665, allocations: 0 / 281 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.02711, allocations: 209.2 kB / 281.3 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.02712, allocations: 3.938 kB / 281.3 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003912/0.02751, allocations: 39.92 kB / 281.3 MB, free: 8.426 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.02751, allocations: 0 / 281.3 MB, free: 8.426 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/0.02755, allocations: 8 kB / 281.3 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.02755, allocations: 4 kB / 281.3 MB, free: 8.414 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.02755, allocations: 0 / 281.3 MB, free: 8.414 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.02859, allocations: 317.6 kB / 281.6 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.782e-05/0.02866, allocations: 23.83 kB / 281.6 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.375e-05/0.02872, allocations: 12 kB / 281.7 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.02886, allocations: 0 / 281.7 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.118e-05/0.02895, allocations: 15.97 kB / 281.7 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.02898, allocations: 8 kB / 281.7 MB, free: 8.027 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003535/0.02933, allocations: 197.6 kB / 281.9 MB, free: 7.836 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.02933, allocations: 0 / 281.9 MB, free: 7.836 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005566/0.02989, allocations: 59.95 kB / 281.9 MB, free: 7.777 MB / 266.7 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.nextTimeEvent,lossTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.003183/0.03307, allocations: 432.8 kB / 282.3 MB, free: 7.496 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006354/0.03371, allocations: 147.1 kB / 282.5 MB, free: 7.355 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.03371, allocations: 4 kB / 282.5 MB, free: 7.352 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.03397, allocations: 71.91 kB / 282.6 MB, free: 7.281 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006137/0.03458, allocations: 60.12 kB / 282.6 MB, free: 7.227 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.03639, allocations: 0.5085 MB / 283.1 MB, free: 6.688 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.03666, allocations: 141.8 kB / 283.3 MB, free: 6.531 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001898/0.03685, allocations: 29.94 kB / 283.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.03696, allocations: 20.5 kB / 283.3 MB, free: 6.48 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.03696, allocations: 0 / 283.3 MB, free: 6.48 MB / 266.7 MB Notification: Performance of Templates: time 0.01244/0.04939, allocations: 2.66 MB / 286 MB, free: 3.852 MB / 266.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.466879538958892]