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.001851/0.001851, allocations: 88.62 kB / 20.96 MB, free: 3.477 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.002193/0.002193, allocations: 149.3 kB / 24.26 MB, free: 184 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 1.475/1.475, allocations: 173.3 MB / 200.8 MB, free: 9.309 MB / 186.7 MB " [Timeout remaining time 178] 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.583e-06/1.583e-06, allocations: 0 / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.552e-05, allocations: 2.312 kB / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003776/0.003802, allocations: 2.129 MB / 269.4 MB, free: 4.605 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.005792, allocations: 1.04 MB / 270.5 MB, free: 3.559 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.281e-05/0.005885, allocations: 0 / 270.5 MB, free: 3.559 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003449/0.00623, allocations: 99.38 kB / 270.6 MB, free: 3.461 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000352/0.006582, allocations: 123.2 kB / 270.7 MB, free: 3.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000391/0.006973, allocations: 151.4 kB / 270.8 MB, free: 3.191 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003864/0.007359, allocations: 294.7 kB / 271.1 MB, free: 2.902 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.007539, allocations: 56.78 kB / 271.2 MB, free: 2.84 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.007774, allocations: 167.6 kB / 271.3 MB, free: 2.676 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.007982, allocations: 103.8 kB / 271.4 MB, free: 2.574 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.243e-05/0.008024, allocations: 16 kB / 271.5 MB, free: 2.559 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.008166, allocations: 51.92 kB / 271.5 MB, free: 2.508 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.744e-05/0.008263, allocations: 63.75 kB / 271.6 MB, free: 2.445 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.008382, allocations: 71.78 kB / 271.6 MB, free: 2.375 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005049/0.008887, allocations: 295 kB / 271.9 MB, free: 2.086 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.00889, allocations: 0 / 271.9 MB, free: 2.086 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.008892, allocations: 0 / 271.9 MB, free: 2.086 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.008897, allocations: 3.938 kB / 271.9 MB, free: 2.082 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.0009226/0.009819, allocations: 485.5 kB / 272.4 MB, free: 1.578 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.009855, allocations: 8.922 kB / 272.4 MB, free: 1.57 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.01005, allocations: 48.69 kB / 272.5 MB, free: 1.523 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.01041, allocations: 202.2 kB / 272.7 MB, free: 1.297 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.01043, allocations: 16.16 kB / 272.7 MB, free: 1.281 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/0.01048, allocations: 16.38 kB / 272.7 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.01083, allocations: 173.9 kB / 272.9 MB, free: 1.09 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.01085, allocations: 3.938 kB / 272.9 MB, free: 1.086 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.01088, allocations: 8 kB / 272.9 MB, free: 1.078 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.01088, allocations: 4 kB / 272.9 MB, free: 1.074 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002824/0.01116, allocations: 119.7 kB / 273 MB, free: 0.957 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009048/0.01207, allocations: 471.9 kB / 273.5 MB, free: 476 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/0.01244, allocations: 158.4 kB / 273.6 MB, free: 308 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.01262, allocations: 80.83 kB / 273.7 MB, free: 224 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.01264, allocations: 4 kB / 273.7 MB, free: 220 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002544/0.01289, allocations: 127.6 kB / 273.8 MB, free: 80 kB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 1.442e-06/0.01289, allocations: 0 / 273.8 MB, free: 80 kB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006127/0.0135, allocations: 248.5 kB / 274.1 MB, free: 15.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.01355, allocations: 51.41 kB / 274.1 MB, free: 15.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.01384, allocations: 251.1 kB / 274.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.01388, allocations: 33.7 kB / 274.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.014, allocations: 148.3 kB / 274.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.872e-05/0.01408, allocations: 75.41 kB / 274.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-05/0.01416, allocations: 49.7 kB / 274.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.01436, allocations: 326.8 kB / 275 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.01449, allocations: 51.97 kB / 275 MB, free: 14.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.01466, allocations: 91.34 kB / 275.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003001/0.01496, allocations: 158.6 kB / 275.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.01496, allocations: 0 / 275.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004333/0.01539, allocations: 221.4 kB / 275.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.01541, allocations: 4 kB / 275.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.01542, allocations: 4 kB / 275.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.01543, allocations: 0 / 275.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.01567, allocations: 43.92 kB / 275.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.01567, allocations: 4 kB / 275.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.01578, allocations: 19.88 kB / 275.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.0158, allocations: 12 kB / 275.6 MB, free: 14.24 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 0.0001583/0.01596, allocations: 145.7 kB / 275.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/0.01601, allocations: 31.95 kB / 275.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004735/0.01649, allocations: 214.5 kB / 276 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.01649, allocations: 4 kB / 276 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.0165, allocations: 4 kB / 276 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.0165, allocations: 0 / 276 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.01678, allocations: 213.1 kB / 276.2 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.01678, allocations: 0 / 276.2 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.017, allocations: 39.92 kB / 276.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.017, allocations: 0 / 276.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.01702, allocations: 8 kB / 276.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.01702, allocations: 4 kB / 276.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.01703, allocations: 3.984 kB / 276.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006075/0.01763, allocations: 308.8 kB / 276.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.01768, allocations: 19.84 kB / 276.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.01771, allocations: 4 kB / 276.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.582e-05/0.0178, allocations: 7.938 kB / 276.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.01785, allocations: 19.91 kB / 276.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.01787, allocations: 8 kB / 276.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002122/0.01808, allocations: 188.6 kB / 276.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01808, allocations: 0 / 276.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002964/0.01838, allocations: 63.95 kB / 276.8 MB, free: 12.92 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.001984/0.02036, allocations: 445.6 kB / 277.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003531/0.02072, allocations: 147.8 kB / 277.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.02072, allocations: 0 / 277.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.02088, allocations: 75.09 kB / 277.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.02124, allocations: 48.09 kB / 277.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.02225, allocations: 0.5047 MB / 278 MB, free: 11.87 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.02241, allocations: 136.8 kB / 278.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.02251, allocations: 29.62 kB / 278.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.372e-05/0.02258, allocations: 20.5 kB / 278.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02258, allocations: 4 kB / 278.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of Templates: time 0.00706/0.02964, allocations: 2.629 MB / 280.8 MB, free: 9.078 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.425650550983846]