Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9998/0.9998, allocations: 173.3 MB / 201.1 MB, free: 8.941 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 268 MB, free: 6.352 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.674e-05/1.791e-05, allocations: 10.25 kB / 268 MB, free: 6.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.002434/0.002452, allocations: 2.263 MB / 270.2 MB, free: 4.066 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.003661, allocations: 1.071 MB / 271.3 MB, free: 2.988 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.913e-05/0.00375, allocations: 7.938 kB / 271.3 MB, free: 2.98 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.004079, allocations: 95.42 kB / 271.4 MB, free: 2.887 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002811/0.00436, allocations: 127.2 kB / 271.5 MB, free: 2.762 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.00462, allocations: 151.4 kB / 271.7 MB, free: 2.613 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.004859, allocations: 298.6 kB / 272 MB, free: 2.32 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.005002, allocations: 60.73 kB / 272 MB, free: 2.254 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.005142, allocations: 163.6 kB / 272.2 MB, free: 2.094 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.005285, allocations: 99.77 kB / 272.3 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.005314, allocations: 16 kB / 272.3 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.364e-05/0.005408, allocations: 51.97 kB / 272.3 MB, free: 1.93 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.388e-05/0.005491, allocations: 55.77 kB / 272.4 MB, free: 1.875 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.146e-05/0.005573, allocations: 83.77 kB / 272.5 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.005823, allocations: 215.2 kB / 272.7 MB, free: 1.582 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.005826, allocations: 4 kB / 272.7 MB, free: 1.578 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.005826, allocations: 0 / 272.7 MB, free: 1.578 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.00583, allocations: 0 / 272.7 MB, free: 1.578 MB / 250.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.000573/0.006403, allocations: 0.5701 MB / 273.3 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.006438, allocations: 12.92 kB / 273.3 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.006569, allocations: 52.56 kB / 273.3 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.006763, allocations: 197.1 kB / 273.5 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.006786, allocations: 24.14 kB / 273.5 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.006816, allocations: 12.38 kB / 273.6 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.007017, allocations: 142.7 kB / 273.7 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.007027, allocations: 3.938 kB / 273.7 MB, free: 0.5 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.007041, allocations: 4 kB / 273.7 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.007049, allocations: 8 kB / 273.7 MB, free: 500 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.00718, allocations: 71.72 kB / 273.8 MB, free: 428 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005536/0.007733, allocations: 0.4991 MB / 274.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.007907, allocations: 126.8 kB / 274.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.016e-05/0.007987, allocations: 66.69 kB / 274.5 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.008005, allocations: 4 kB / 274.5 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/0.008132, allocations: 101.3 kB / 274.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.353e-06/0.008133, allocations: 0 / 274.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002795/0.008413, allocations: 177.5 kB / 274.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.00844, allocations: 59.34 kB / 274.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.008592, allocations: 273.7 kB / 275.1 MB, free: 15.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.008609, allocations: 33.7 kB / 275.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.417e-05/0.008693, allocations: 195.1 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.008737, allocations: 79.36 kB / 275.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.837e-05/0.008785, allocations: 43.38 kB / 275.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.008907, allocations: 0.5079 MB / 275.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.166e-05/0.008959, allocations: 31.97 kB / 276 MB, free: 14.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-05/0.009031, allocations: 70.72 kB / 276 MB, free: 14.03 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.009152, allocations: 117.6 kB / 276.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.009155, allocations: 4 kB / 276.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001812/0.009336, allocations: 173.4 kB / 276.3 MB, free: 13.72 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.009349, allocations: 8 kB / 276.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.009355, allocations: 3.984 kB / 276.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.009369, allocations: 0 / 276.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.009504, allocations: 47.92 kB / 276.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.009509, allocations: 0 / 276.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.689e-05/0.009556, allocations: 19.89 kB / 276.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.009567, allocations: 11.98 kB / 276.4 MB, free: 13.63 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 8.428e-05/0.009651, allocations: 176.5 kB / 276.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.009678, allocations: 31.84 kB / 276.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.009896, allocations: 174.6 kB / 276.8 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.009898, allocations: 0 / 276.8 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.009902, allocations: 3.938 kB / 276.8 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.009907, allocations: 7.984 kB / 276.8 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.01007, allocations: 212.4 kB / 277 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01007, allocations: 0 / 277 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.01017, allocations: 31.98 kB / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.01017, allocations: 4 kB / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.01019, allocations: 11.98 kB / 277 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.01019, allocations: 0 / 277 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01019, allocations: 4 kB / 277 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.01045, allocations: 240.1 kB / 277.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.175e-05/0.01047, allocations: 23.83 kB / 277.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.01049, allocations: 4 kB / 277.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.631e-05/0.01053, allocations: 8 kB / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.01057, allocations: 11.97 kB / 277.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.01058, allocations: 11.94 kB / 277.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.325e-05/0.01068, allocations: 192.5 kB / 277.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01068, allocations: 4.031 kB / 277.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001803/0.01086, allocations: 63.88 kB / 277.6 MB, free: 12.36 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.0008411/0.0117, allocations: 389.3 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.01189, allocations: 114.7 kB / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.01189, allocations: 0 / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.364e-05/0.01197, allocations: 63.59 kB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.01219, allocations: 54.8 kB / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008025/0.01299, allocations: 478.6 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.882e-05/0.01304, allocations: 83.97 kB / 278.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.368e-05/0.01311, allocations: 29.61 kB / 278.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.659e-05/0.01315, allocations: 24.5 kB / 278.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01315, allocations: 0 / 278.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of Templates: time 0.004672/0.01783, allocations: 2.649 MB / 281.5 MB, free: 8.629 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.336138983257115]