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.001365/0.001365, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001793/0.001793, allocations: 207.4 kB / 23.73 MB, free: 4.391 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.456/1.456, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.00211/0.00211, allocations: 59.89 kB / 378.2 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2592, allocations: 53.42 MB / 431.6 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003757/0.2629, allocations: 2.15 MB / 433.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.2652, allocations: 1.169 MB / 434.9 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.2653, allocations: 4 kB / 434.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004073/0.2657, allocations: 95.5 kB / 435 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004857/0.2662, allocations: 163.1 kB / 435.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.2665, allocations: 115.6 kB / 435.3 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003763/0.2668, allocations: 294.8 kB / 435.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.2671, allocations: 68.72 kB / 435.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.2672, allocations: 119.5 kB / 435.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.2674, allocations: 123.5 kB / 435.9 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.699e-05/0.2675, allocations: 16 kB / 435.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.2676, allocations: 51.98 kB / 436 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.2677, allocations: 59.7 kB / 436 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.2678, allocations: 95.53 kB / 436.1 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004327/0.2683, allocations: 297.1 kB / 436.4 MB, free: 1.719 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2683, allocations: 0 / 436.4 MB, free: 1.719 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2683, allocations: 3.938 kB / 436.4 MB, free: 1.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.2683, allocations: 4 kB / 436.4 MB, free: 1.711 MB / 334.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.001128/0.2694, allocations: 489.2 kB / 436.9 MB, free: 1.203 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.2695, allocations: 15.98 kB / 436.9 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.2697, allocations: 32.75 kB / 436.9 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/0.2701, allocations: 202 kB / 437.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.2702, allocations: 16.31 kB / 437.2 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.345e-05/0.2702, allocations: 24.38 kB / 437.2 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003844/0.2706, allocations: 161.9 kB / 437.3 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.2706, allocations: 0 / 437.3 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.2706, allocations: 12 kB / 437.4 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.2707, allocations: 4 kB / 437.4 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.2709, allocations: 123.7 kB / 437.5 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009234/0.2719, allocations: 467.9 kB / 437.9 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000361/0.2722, allocations: 166.5 kB / 438.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.2724, allocations: 76.83 kB / 438.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.2724, allocations: 0 / 438.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002431/0.2726, allocations: 130.5 kB / 438.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.2726, allocations: 3.938 kB / 438.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005741/0.2732, allocations: 233.4 kB / 438.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.2733, allocations: 55.41 kB / 438.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.2736, allocations: 260.1 kB / 438.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.2736, allocations: 29.7 kB / 438.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.2737, allocations: 152.3 kB / 439 MB, free: 14.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.973e-05/0.2738, allocations: 79.28 kB / 439.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.09e-05/0.2739, allocations: 37.72 kB / 439.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.2741, allocations: 338.8 kB / 439.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.2742, allocations: 51.97 kB / 439.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.2743, allocations: 95.88 kB / 439.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.2746, allocations: 151 kB / 439.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2746, allocations: 0 / 439.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003828/0.275, allocations: 213.3 kB / 440 MB, free: 13.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.275, allocations: 8 kB / 440 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.275, allocations: 0 / 440 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.275, allocations: 4 kB / 440 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.2753, allocations: 43.92 kB / 440 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.2753, allocations: 0 / 440 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.2754, allocations: 23.88 kB / 440 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.2754, allocations: 4 kB / 440 MB, free: 13.89 MB / 350.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.0001525/0.2755, allocations: 149.8 kB / 440.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.2756, allocations: 27.84 kB / 440.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/0.276, allocations: 214.7 kB / 440.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.276, allocations: 0 / 440.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.276, allocations: 4 kB / 440.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.276, allocations: 3.984 kB / 440.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.2763, allocations: 213.1 kB / 440.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2763, allocations: 0 / 440.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.2765, allocations: 39.92 kB / 440.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.2765, allocations: 0 / 440.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.2765, allocations: 12 kB / 440.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2765, allocations: 0 / 440.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.2765, allocations: 7.984 kB / 440.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005699/0.2771, allocations: 303.8 kB / 441 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/0.2771, allocations: 27.83 kB / 441 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.2772, allocations: 7.938 kB / 441 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.929e-05/0.2773, allocations: 4 kB / 441 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.2773, allocations: 11.97 kB / 441 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.2773, allocations: 12 kB / 441.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001935/0.2775, allocations: 193.6 kB / 441.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2775, allocations: 8 kB / 441.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002985/0.2778, allocations: 63.83 kB / 441.3 MB, free: 12.55 MB / 350.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.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.001671/0.2795, allocations: 425.8 kB / 441.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003708/0.2799, allocations: 139.9 kB / 441.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2799, allocations: 0 / 441.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.28, allocations: 78.84 kB / 441.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.2804, allocations: 52.77 kB / 442 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.2815, allocations: 0.5486 MB / 442.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.2816, allocations: 149.7 kB / 442.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.2817, allocations: 25.94 kB / 442.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.257e-05/0.2818, allocations: 27.42 kB / 442.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2818, allocations: 3.938 kB / 442.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of Templates: time 0.007182/0.289, allocations: 2.91 MB / 445.7 MB, free: 8.352 MB / 350.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/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: 8.141444813460112]