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.001872/0.001872, allocations: 107 kB / 19.8 MB, free: 2.5 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.002437/0.002437, allocations: 217.3 kB / 23 MB, free: 5.574 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.469/1.469, allocations: 230.2 MB / 256.2 MB, free: 8.52 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.001903/0.001903, allocations: 63.89 kB / 376.4 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2529, allocations: 53.34 MB / 429.8 MB, free: 7.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003709/0.2566, allocations: 2.275 MB / 432.1 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.2588, allocations: 1.242 MB / 433.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.2589, allocations: 4 kB / 433.3 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.2593, allocations: 95.5 kB / 433.4 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003957/0.2597, allocations: 163.1 kB / 433.6 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.2599, allocations: 119.6 kB / 433.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003405/0.2603, allocations: 294.8 kB / 434 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.2605, allocations: 64.59 kB / 434 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.2606, allocations: 115.6 kB / 434.1 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.2609, allocations: 135.4 kB / 434.3 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.579e-05/0.2609, allocations: 20 kB / 434.3 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.261, allocations: 47.98 kB / 434.3 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.35e-05/0.2611, allocations: 59.75 kB / 434.4 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.2613, allocations: 123.3 kB / 434.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004644/0.2617, allocations: 292.1 kB / 434.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2617, allocations: 0 / 434.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2617, allocations: 0 / 434.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.2617, allocations: 0 / 434.8 MB, free: 2.461 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.0009746/0.2627, allocations: 0.5569 MB / 435.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.2627, allocations: 16.03 kB / 435.4 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.2629, allocations: 32.75 kB / 435.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.2633, allocations: 267.8 kB / 435.7 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.2633, allocations: 8.375 kB / 435.7 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.2633, allocations: 16.38 kB / 435.7 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.2637, allocations: 169.8 kB / 435.9 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.2637, allocations: 0 / 435.9 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.2637, allocations: 8 kB / 435.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.2637, allocations: 4 kB / 435.9 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002639/0.264, allocations: 119.7 kB / 436 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008846/0.2648, allocations: 0.5664 MB / 436.6 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.2652, allocations: 150.5 kB / 436.7 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.2653, allocations: 92.41 kB / 436.8 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.2654, allocations: 7.953 kB / 436.8 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002274/0.2656, allocations: 115.3 kB / 436.9 MB, free: 192 kB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.502e-06/0.2656, allocations: 3.938 kB / 436.9 MB, free: 188 kB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005275/0.2661, allocations: 232.1 kB / 437.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.2662, allocations: 55.41 kB / 437.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.2665, allocations: 261 kB / 437.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.2665, allocations: 33.7 kB / 437.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.2666, allocations: 140.5 kB / 437.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.004e-05/0.2667, allocations: 87.3 kB / 437.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-05/0.2667, allocations: 37.7 kB / 437.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2669, allocations: 342.8 kB / 438.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.267, allocations: 51.98 kB / 438.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.2672, allocations: 87.34 kB / 438.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.2674, allocations: 146.7 kB / 438.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2674, allocations: 4 kB / 438.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003533/0.2678, allocations: 205.3 kB / 438.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.2678, allocations: 8.094 kB / 438.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2678, allocations: 0 / 438.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.2678, allocations: 4 kB / 438.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.268, allocations: 47.91 kB / 438.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.268, allocations: 4 kB / 438.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.798e-05/0.2681, allocations: 19.83 kB / 438.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.2682, allocations: 11.94 kB / 438.7 MB, free: 14.36 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.0001332/0.2683, allocations: 137.8 kB / 438.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.2683, allocations: 23.86 kB / 438.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004097/0.2687, allocations: 215.7 kB / 439 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2687, allocations: 0 / 439 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2687, allocations: 0 / 439 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.2688, allocations: 7.938 kB / 439 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000309/0.2691, allocations: 281.4 kB / 439.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2691, allocations: 0 / 439.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.2693, allocations: 43.91 kB / 439.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2693, allocations: 0 / 439.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.2693, allocations: 4 kB / 439.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2693, allocations: 0 / 439.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2693, allocations: 4 kB / 439.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000487/0.2698, allocations: 287.2 kB / 439.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.891e-05/0.2698, allocations: 96.98 kB / 439.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.2699, allocations: 11.94 kB / 439.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-05/0.2699, allocations: 7.938 kB / 439.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.27, allocations: 11.98 kB / 439.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.27, allocations: 4 kB / 439.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001854/0.2702, allocations: 200.5 kB / 440 MB, free: 12.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2702, allocations: 0 / 440 MB, free: 12.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.2705, allocations: 59.89 kB / 440 MB, free: 12.89 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 (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.001418/0.2719, allocations: 403.5 kB / 440.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003223/0.2722, allocations: 135.8 kB / 440.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2722, allocations: 0 / 440.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.2723, allocations: 72.09 kB / 440.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.2727, allocations: 56.98 kB / 440.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009738/0.2737, allocations: 0.5499 MB / 441.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.274, allocations: 0.748 MB / 442 MB, free: 11.03 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.2741, allocations: 37.92 kB / 442 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.529e-05/0.2742, allocations: 23.44 kB / 442 MB, free: 10.97 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2742, allocations: 0 / 442 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Templates: time 0.00642/0.2806, allocations: 2.78 MB / 444.8 MB, free: 8.211 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.453606165014207]