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.001407/0.001407, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001675/0.001675, allocations: 212.2 kB / 24.48 MB, free: 3.977 MB / 14.72 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 2.06/2.06, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002102/0.002102, allocations: 47.92 kB / 378.9 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4688/0.4709, allocations: 53.37 MB / 432.3 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.005488/0.4764, allocations: 2.157 MB / 434.5 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003446/0.4798, allocations: 1.161 MB / 435.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.48, allocations: 7.938 kB / 435.6 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004557/0.4804, allocations: 95.5 kB / 435.7 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006611/0.4811, allocations: 167.1 kB / 435.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004484/0.4815, allocations: 115.6 kB / 436 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005344/0.4821, allocations: 306.7 kB / 436.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002517/0.4823, allocations: 72.42 kB / 436.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.4825, allocations: 111.6 kB / 436.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002878/0.4828, allocations: 131.5 kB / 436.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.917e-05/0.4829, allocations: 16 kB / 436.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002041/0.4831, allocations: 59.91 kB / 436.7 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.4832, allocations: 51.78 kB / 436.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.4833, allocations: 107.5 kB / 436.8 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005899/0.4839, allocations: 297.8 kB / 437.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4839, allocations: 3.938 kB / 437.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4839, allocations: 0 / 437.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.484, allocations: 0 / 437.1 MB, free: 1.918 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.001219/0.4852, allocations: 489.2 kB / 437.6 MB, free: 1.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.4852, allocations: 8.031 kB / 437.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002348/0.4854, allocations: 40.73 kB / 437.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005006/0.4859, allocations: 202 kB / 437.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.486, allocations: 12.38 kB / 437.9 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.425e-05/0.486, allocations: 24.12 kB / 437.9 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005444/0.4866, allocations: 157.6 kB / 438 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.4866, allocations: 4 kB / 438.1 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.4866, allocations: 4 kB / 438.1 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.4867, allocations: 4 kB / 438.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004339/0.4871, allocations: 127.6 kB / 438.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.4883, allocations: 467.9 kB / 438.6 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004952/0.4888, allocations: 170.4 kB / 438.8 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.489, allocations: 76.83 kB / 438.9 MB, free: 68 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.4891, allocations: 4 kB / 438.9 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003704/0.4894, allocations: 119.6 kB / 439 MB, free: 15.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.685e-06/0.4894, allocations: 0 / 439 MB, free: 15.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0008366/0.4903, allocations: 240.2 kB / 439.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.665e-05/0.4903, allocations: 59.34 kB / 439.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004502/0.4908, allocations: 260.1 kB / 439.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.4908, allocations: 25.7 kB / 439.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.491, allocations: 152.3 kB / 439.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.4911, allocations: 71.38 kB / 439.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.4912, allocations: 41.7 kB / 439.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002136/0.4915, allocations: 338.8 kB / 440.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.4917, allocations: 51.97 kB / 440.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.4919, allocations: 87.39 kB / 440.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004482/0.4923, allocations: 153.6 kB / 440.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.4923, allocations: 0 / 440.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006376/0.493, allocations: 212.2 kB / 440.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.493, allocations: 7.938 kB / 440.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.493, allocations: 0 / 440.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.493, allocations: 7.984 kB / 440.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.4934, allocations: 47.91 kB / 440.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.4934, allocations: 4.094 kB / 440.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.4936, allocations: 23.83 kB / 440.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.4936, allocations: 8 kB / 440.8 MB, free: 14.1 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.0002234/0.4938, allocations: 145.8 kB / 440.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.349e-05/0.4939, allocations: 23.86 kB / 440.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006958/0.4946, allocations: 215.4 kB / 441.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.4946, allocations: 4 kB / 441.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4946, allocations: 3.938 kB / 441.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.4946, allocations: 3.984 kB / 441.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/0.495, allocations: 213.1 kB / 441.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.495, allocations: 3.938 kB / 441.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.4954, allocations: 43.97 kB / 441.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.4954, allocations: 0 / 441.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.4954, allocations: 4 kB / 441.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.4954, allocations: 0 / 441.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4954, allocations: 0 / 441.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009227/0.4963, allocations: 310.4 kB / 441.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.4964, allocations: 23.83 kB / 441.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.347e-05/0.4965, allocations: 11.98 kB / 441.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.4966, allocations: 4.062 kB / 441.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/0.4967, allocations: 19.92 kB / 441.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.481e-05/0.4967, allocations: 7.984 kB / 441.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003131/0.497, allocations: 193.6 kB / 442 MB, free: 12.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.497, allocations: 0 / 442 MB, free: 12.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005051/0.4975, allocations: 55.89 kB / 442 MB, free: 12.78 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 (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.002342/0.4999, allocations: 448.3 kB / 442.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005138/0.5004, allocations: 140 kB / 442.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5004, allocations: 4.062 kB / 442.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.5006, allocations: 82.03 kB / 442.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004921/0.5011, allocations: 36.03 kB / 442.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.5025, allocations: 0.5641 MB / 443.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/0.5027, allocations: 149.7 kB / 443.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001491/0.5029, allocations: 33.92 kB / 443.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.467e-05/0.503, allocations: 19.44 kB / 443.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.503, allocations: 0 / 443.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Templates: time 0.009507/0.5125, allocations: 2.966 MB / 446.4 MB, free: 8.539 MB / 350.1 MB " [Timeout remaining time 659] 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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/Motor/Motor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.Motor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 14.45097918099782]