Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001048/0.001048, allocations: 85.95 kB / 23 MB, free: 1.504 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.001549/0.001549, allocations: 176 kB / 26.4 MB, free: 8.141 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9884/0.9884, allocations: 158.6 MB / 188.3 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 252.2 MB, free: 7.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.355e-05/1.489e-05, allocations: 2.312 kB / 252.2 MB, free: 7.281 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003135/0.00315, allocations: 2.256 MB / 254.5 MB, free: 5.008 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.004431, allocations: 0.9478 MB / 255.4 MB, free: 4.051 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.004541, allocations: 4 kB / 255.4 MB, free: 4.047 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003561/0.004897, allocations: 95.44 kB / 255.5 MB, free: 3.953 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.005179, allocations: 131.1 kB / 255.7 MB, free: 3.824 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.005435, allocations: 123.6 kB / 255.8 MB, free: 3.703 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.005709, allocations: 298.6 kB / 256.1 MB, free: 3.41 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.005866, allocations: 56.78 kB / 256.1 MB, free: 3.355 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.006015, allocations: 155.7 kB / 256.3 MB, free: 3.203 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.006157, allocations: 107.7 kB / 256.4 MB, free: 3.098 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.006182, allocations: 20 kB / 256.4 MB, free: 3.078 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.006283, allocations: 55.86 kB / 256.5 MB, free: 3.023 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.044e-05/0.006343, allocations: 55.81 kB / 256.5 MB, free: 2.969 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.818e-05/0.006411, allocations: 83.77 kB / 256.6 MB, free: 2.887 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.006646, allocations: 203.2 kB / 256.8 MB, free: 2.688 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.006648, allocations: 4 kB / 256.8 MB, free: 2.684 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.006648, allocations: 4 kB / 256.8 MB, free: 2.68 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.006652, allocations: 0 / 256.8 MB, free: 2.68 MB / 234.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.000575/0.007228, allocations: 0.5817 MB / 257.4 MB, free: 2.062 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.007264, allocations: 11.98 kB / 257.4 MB, free: 2.051 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.007408, allocations: 52.67 kB / 257.4 MB, free: 2 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.007602, allocations: 189.2 kB / 257.6 MB, free: 1.781 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.007623, allocations: 12.38 kB / 257.6 MB, free: 1.77 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.007648, allocations: 20.38 kB / 257.7 MB, free: 1.75 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.007863, allocations: 134.4 kB / 257.8 MB, free: 1.609 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.007876, allocations: 3.938 kB / 257.8 MB, free: 1.605 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.007888, allocations: 4 kB / 257.8 MB, free: 1.602 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.007895, allocations: 4 kB / 257.8 MB, free: 1.598 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.973e-05/0.007984, allocations: 63.88 kB / 257.9 MB, free: 1.535 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004878/0.008472, allocations: 479.5 kB / 258.3 MB, free: 1.039 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.008612, allocations: 122.7 kB / 258.5 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.756e-05/0.008669, allocations: 51.28 kB / 258.5 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.008686, allocations: 7.938 kB / 258.5 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/0.008801, allocations: 92.98 kB / 258.6 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of pre-optimization done (n=20): time 1.703e-06/0.008802, allocations: 0 / 258.6 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002582/0.00906, allocations: 169.7 kB / 258.8 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.009092, allocations: 55.41 kB / 258.8 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.009252, allocations: 253.8 kB / 259.1 MB, free: 244 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.009271, allocations: 33.7 kB / 259.1 MB, free: 204 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.872e-05/0.00936, allocations: 199.1 kB / 259.3 MB, free: 0 / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.771e-05/0.009428, allocations: 75.55 kB / 259.4 MB, free: 15.92 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.999e-05/0.009488, allocations: 43.36 kB / 259.4 MB, free: 15.87 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.009649, allocations: 0.504 MB / 259.9 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.257e-05/0.009692, allocations: 23.98 kB / 259.9 MB, free: 15.33 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.93e-05/0.009761, allocations: 70.62 kB / 260 MB, free: 15.25 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.009884, allocations: 114.5 kB / 260.1 MB, free: 15.12 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.009887, allocations: 0 / 260.1 MB, free: 15.12 MB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002027/0.01009, allocations: 161.3 kB / 260.3 MB, free: 14.95 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.0101, allocations: 4 kB / 260.3 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.01011, allocations: 7.984 kB / 260.3 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.01012, allocations: 0 / 260.3 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.01027, allocations: 39.98 kB / 260.3 MB, free: 14.9 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.01028, allocations: 7.938 kB / 260.3 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.659e-05/0.01034, allocations: 15.89 kB / 260.4 MB, free: 14.88 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.01035, allocations: 4 kB / 260.4 MB, free: 14.88 MB / 250.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.0001019/0.01046, allocations: 180.5 kB / 260.5 MB, free: 14.69 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.01049, allocations: 31.86 kB / 260.6 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.01072, allocations: 155.3 kB / 260.7 MB, free: 14.5 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.01072, allocations: 4 kB / 260.7 MB, free: 14.49 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.01072, allocations: 0 / 260.7 MB, free: 14.49 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.01073, allocations: 0 / 260.7 MB, free: 14.49 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.0109, allocations: 181.1 kB / 260.9 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.0109, allocations: 3.938 kB / 260.9 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.01103, allocations: 39.91 kB / 260.9 MB, free: 14.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.01103, allocations: 4 kB / 260.9 MB, free: 14.24 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.01105, allocations: 4 kB / 260.9 MB, free: 14.24 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01105, allocations: 4 kB / 260.9 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01105, allocations: 7.938 kB / 261 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.01131, allocations: 220.1 kB / 261.2 MB, free: 13.99 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/0.01134, allocations: 23.8 kB / 261.2 MB, free: 13.96 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.01136, allocations: 4 kB / 261.2 MB, free: 13.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.882e-05/0.01141, allocations: 8 kB / 261.2 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.01145, allocations: 11.97 kB / 261.2 MB, free: 13.94 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.01146, allocations: 8 kB / 261.2 MB, free: 13.93 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001027/0.01156, allocations: 184.5 kB / 261.4 MB, free: 13.75 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01156, allocations: 0 / 261.4 MB, free: 13.75 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002477/0.01181, allocations: 63.92 kB / 261.5 MB, free: 13.69 MB / 250.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.0009086/0.01272, allocations: 394.6 kB / 261.9 MB, free: 13.35 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001632/0.01288, allocations: 112 kB / 262 MB, free: 13.23 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.01288, allocations: 0 / 262 MB, free: 13.23 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.379e-05/0.01296, allocations: 59.59 kB / 262 MB, free: 13.17 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.0132, allocations: 47.89 kB / 262.1 MB, free: 13.12 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007612/0.01396, allocations: 481.7 kB / 262.5 MB, free: 12.62 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.219e-05/0.01402, allocations: 79.98 kB / 262.6 MB, free: 12.53 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.27e-05/0.01409, allocations: 25.62 kB / 262.6 MB, free: 12.5 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.0142, allocations: 106.2 kB / 262.7 MB, free: 12.4 MB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0142, allocations: 0 / 262.7 MB, free: 12.4 MB / 250.7 MB Notification: Performance of Templates: time 0.01141/0.02562, allocations: 2.928 MB / 265.7 MB, free: 9.477 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.1144867348484695]