Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009822/0.0009822, allocations: 167.4 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.037/1.037, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 273.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.629e-05, allocations: 2.312 kB / 273.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.00267/0.002686, allocations: 2.269 MB / 275.6 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.004141, allocations: 1.192 MB / 276.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.004248, allocations: 4 kB / 276.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.004544, allocations: 91.44 kB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.004855, allocations: 170.9 kB / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.005044, allocations: 123.5 kB / 277.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.005297, allocations: 302.7 kB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.005436, allocations: 60.77 kB / 277.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.005587, allocations: 163.6 kB / 277.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.005727, allocations: 111.7 kB / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.005752, allocations: 16 kB / 277.9 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.745e-05/0.00585, allocations: 59.92 kB / 277.9 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.92e-05/0.005909, allocations: 55.77 kB / 278 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.241e-05/0.005971, allocations: 79.83 kB / 278 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.006205, allocations: 223.1 kB / 278.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.006207, allocations: 0 / 278.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006208, allocations: 0 / 278.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.006212, allocations: 0 / 278.3 MB, free: 12.37 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.0007872/0.006999, allocations: 0.5856 MB / 278.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.007033, allocations: 12.03 kB / 278.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.007151, allocations: 48.69 kB / 278.9 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.007322, allocations: 200.1 kB / 279.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.00734, allocations: 12.38 kB / 279.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.007363, allocations: 16.38 kB / 279.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.007517, allocations: 126.7 kB / 279.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.007528, allocations: 7.922 kB / 279.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.007542, allocations: 7.984 kB / 279.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.007548, allocations: 7.938 kB / 279.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.421e-05/0.007632, allocations: 67.72 kB / 279.3 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000479/0.008111, allocations: 471.7 kB / 279.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.008248, allocations: 111 kB / 279.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/0.0083, allocations: 47.66 kB / 280 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.008318, allocations: 8.281 kB / 280 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/0.008431, allocations: 100.2 kB / 280.1 MB, free: 10.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.008433, allocations: 0 / 280.1 MB, free: 10.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002249/0.008658, allocations: 173.4 kB / 280.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/0.00868, allocations: 51.41 kB / 280.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.00882, allocations: 274.6 kB / 280.6 MB, free: 9.914 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.008835, allocations: 29.7 kB / 280.6 MB, free: 9.879 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.276e-05/0.008918, allocations: 203 kB / 280.8 MB, free: 9.672 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.00896, allocations: 75.41 kB / 280.9 MB, free: 9.598 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-05/0.009007, allocations: 43.34 kB / 280.9 MB, free: 9.547 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.009126, allocations: 0.5117 MB / 281.4 MB, free: 9.023 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.394e-05/0.00916, allocations: 23.97 kB / 281.4 MB, free: 9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.358e-05/0.009214, allocations: 67.36 kB / 281.5 MB, free: 8.918 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.854e-05/0.009312, allocations: 110 kB / 281.6 MB, free: 8.797 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.009315, allocations: 0 / 281.6 MB, free: 8.797 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001583/0.009473, allocations: 161.3 kB / 281.8 MB, free: 8.633 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.009485, allocations: 4 kB / 281.8 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.00949, allocations: 0 / 281.8 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.009501, allocations: 4 kB / 281.8 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.009622, allocations: 52.02 kB / 281.8 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.009626, allocations: 0 / 281.8 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.799e-05/0.009673, allocations: 19.89 kB / 281.8 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.009683, allocations: 7.984 kB / 281.9 MB, free: 8.547 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 7.833e-05/0.009761, allocations: 172.5 kB / 282 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.009786, allocations: 23.86 kB / 282 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.009967, allocations: 167.3 kB / 282.2 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.009969, allocations: 4 kB / 282.2 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.00997, allocations: 0 / 282.2 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.009974, allocations: 3.984 kB / 282.2 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.01012, allocations: 181 kB / 282.4 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.01012, allocations: 4 kB / 282.4 MB, free: 7.961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.01022, allocations: 43.86 kB / 282.4 MB, free: 7.918 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.01023, allocations: 4 kB / 282.4 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.01024, allocations: 4 kB / 282.4 MB, free: 7.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01024, allocations: 0 / 282.4 MB, free: 7.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01024, allocations: 4 kB / 282.4 MB, free: 7.906 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.01046, allocations: 227.1 kB / 282.7 MB, free: 7.664 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.01048, allocations: 15.86 kB / 282.7 MB, free: 7.648 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.0105, allocations: 8 kB / 282.7 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.828e-05/0.01054, allocations: 8.016 kB / 282.7 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.01056, allocations: 15.98 kB / 282.7 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.01058, allocations: 3.984 kB / 282.7 MB, free: 7.613 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.357e-05/0.01065, allocations: 185.5 kB / 282.9 MB, free: 7.434 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01065, allocations: 0 / 282.9 MB, free: 7.434 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001701/0.01082, allocations: 67.83 kB / 283 MB, free: 7.367 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.000791/0.01161, allocations: 399.8 kB / 283.4 MB, free: 7.113 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001358/0.01175, allocations: 105.5 kB / 283.5 MB, free: 7.008 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.01175, allocations: 0 / 283.5 MB, free: 7.008 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.884e-05/0.01181, allocations: 62.91 kB / 283.5 MB, free: 6.945 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.01201, allocations: 48.3 kB / 283.6 MB, free: 6.902 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006712/0.01269, allocations: 478.4 kB / 284 MB, free: 6.398 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.492e-05/0.01273, allocations: 91.97 kB / 284.1 MB, free: 6.289 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.839e-05/0.01279, allocations: 29.92 kB / 284.2 MB, free: 6.262 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.614e-05/0.01289, allocations: 106.2 kB / 284.3 MB, free: 6.156 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01289, allocations: 0 / 284.3 MB, free: 6.156 MB / 266.7 MB Notification: Performance of Templates: time 0.004847/0.01773, allocations: 2.932 MB / 287.2 MB, free: 3.273 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 6.180138247087598]