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.001366/0.001366, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001564/0.001564, allocations: 140.1 kB / 24.88 MB, free: 9.215 MB / 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.9382/0.9382, allocations: 173.3 MB / 201.5 MB, free: 9.219 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.593e-06/1.593e-06, allocations: 0 / 268.4 MB, free: 6.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.435e-05, allocations: 6.312 kB / 268.4 MB, free: 6.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003028/0.003053, allocations: 2.25 MB / 270.7 MB, free: 3.977 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.004617, allocations: 1.087 MB / 271.8 MB, free: 2.883 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.842e-05/0.004716, allocations: 4 kB / 271.8 MB, free: 2.879 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.005024, allocations: 95.5 kB / 271.9 MB, free: 2.785 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002914/0.005315, allocations: 123.2 kB / 272 MB, free: 2.664 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.005635, allocations: 143.4 kB / 272.1 MB, free: 2.523 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002939/0.005929, allocations: 298.6 kB / 272.4 MB, free: 2.23 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.006076, allocations: 70.67 kB / 272.5 MB, free: 2.156 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.006249, allocations: 151.7 kB / 272.6 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.006402, allocations: 103.7 kB / 272.7 MB, free: 1.906 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.006431, allocations: 24 kB / 272.8 MB, free: 1.883 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.006537, allocations: 47.94 kB / 272.8 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.424e-05/0.006601, allocations: 59.75 kB / 272.9 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.982e-05/0.006681, allocations: 83.77 kB / 273 MB, free: 1.695 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.006949, allocations: 215.2 kB / 273.2 MB, free: 1.484 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.006952, allocations: 0 / 273.2 MB, free: 1.484 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.006953, allocations: 0 / 273.2 MB, free: 1.484 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.006956, allocations: 0 / 273.2 MB, free: 1.484 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.0005216/0.007478, allocations: 456 kB / 273.6 MB, free: 1.016 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.007509, allocations: 12.92 kB / 273.6 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.007648, allocations: 44.78 kB / 273.7 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.007845, allocations: 178.3 kB / 273.8 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.007866, allocations: 20.16 kB / 273.9 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.007895, allocations: 16.38 kB / 273.9 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.008076, allocations: 129.5 kB / 274 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.008087, allocations: 7.938 kB / 274 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.008101, allocations: 4 kB / 274 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.008107, allocations: 8 kB / 274 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.88e-05/0.008206, allocations: 51.73 kB / 274.1 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005142/0.00872, allocations: 361.2 kB / 274.4 MB, free: 148 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.008897, allocations: 152.2 kB / 274.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.008e-05/0.008957, allocations: 44.73 kB / 274.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.008973, allocations: 7.984 kB / 274.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/0.009094, allocations: 106 kB / 274.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.904e-06/0.009096, allocations: 0 / 274.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002001/0.009296, allocations: 117.9 kB / 274.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.009328, allocations: 63.33 kB / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.00947, allocations: 216.1 kB / 275.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.009486, allocations: 25.7 kB / 275.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.009541, allocations: 128.3 kB / 275.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.811e-05/0.009589, allocations: 75.39 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.014e-05/0.009649, allocations: 41.69 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.411e-05/0.009733, allocations: 330.8 kB / 275.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.035e-05/0.009774, allocations: 26.81 kB / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.771e-05/0.009831, allocations: 55.41 kB / 275.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.009943, allocations: 99.89 kB / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.009946, allocations: 0 / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001646/0.01011, allocations: 120.4 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.01012, allocations: 7.938 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01013, allocations: 96 / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.01014, allocations: 15.98 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.01029, allocations: 43.92 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.0103, allocations: 0 / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.035e-05/0.01036, allocations: 19.89 kB / 276.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.01037, allocations: 8 kB / 276.1 MB, free: 14.36 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.177e-05/0.01045, allocations: 124.6 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.01048, allocations: 23.92 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.01066, allocations: 126.4 kB / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01066, allocations: 0 / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.01066, allocations: 7.938 kB / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.01067, allocations: 3.938 kB / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.01082, allocations: 141.7 kB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01082, allocations: 0 / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.01095, allocations: 35.98 kB / 276.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.01096, allocations: 0 / 276.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.01097, allocations: 7.984 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.01097, allocations: 4 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01097, allocations: 0 / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.0112, allocations: 182.5 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/0.01122, allocations: 23.78 kB / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.01125, allocations: 8.016 kB / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.841e-05/0.0113, allocations: 8 kB / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.01133, allocations: 15.97 kB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.01134, allocations: 4 kB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.965e-05/0.01141, allocations: 73.02 kB / 276.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01141, allocations: 0 / 276.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002339/0.01165, allocations: 63.88 kB / 276.9 MB, free: 13.46 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.00124/0.01289, allocations: 0.504 MB / 277.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001539/0.01304, allocations: 95.88 kB / 277.5 MB, free: 13.1 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.01305, allocations: 8 kB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.592e-05/0.01311, allocations: 48.77 kB / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.0133, allocations: 51.84 kB / 277.6 MB, free: 12.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008483/0.01415, allocations: 454.6 kB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.375e-05/0.01421, allocations: 87.97 kB / 278.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.11e-05/0.01428, allocations: 21.62 kB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.01439, allocations: 87.34 kB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01439, allocations: 0 / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of Templates: time 0.005446/0.01983, allocations: 2.872 MB / 281.1 MB, free: 9.477 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: 5.592991273850203]