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.001058/0.001058, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001135/0.001135, allocations: 170.2 kB / 25.33 MB, free: 8.598 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.8492/0.8492, allocations: 158.6 MB / 187.2 MB, free: 2.926 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.583e-06/1.583e-06, allocations: 0 / 251 MB, free: 7.418 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.647e-05, allocations: 2.312 kB / 251 MB, free: 7.414 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.006704/0.00673, allocations: 2.26 MB / 253.3 MB, free: 5.133 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004691/0.01142, allocations: 0.9633 MB / 254.2 MB, free: 4.16 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.01153, allocations: 4 kB / 254.2 MB, free: 4.156 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004071/0.01194, allocations: 95.44 kB / 254.3 MB, free: 4.062 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003509/0.01229, allocations: 127.2 kB / 254.5 MB, free: 3.938 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003245/0.01262, allocations: 135.5 kB / 254.6 MB, free: 3.805 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003351/0.01597, allocations: 290.7 kB / 254.9 MB, free: 3.52 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.01612, allocations: 60.78 kB / 254.9 MB, free: 3.461 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.01629, allocations: 159.6 kB / 255.1 MB, free: 3.305 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.01645, allocations: 103.7 kB / 255.2 MB, free: 3.203 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.01648, allocations: 16 kB / 255.2 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.01659, allocations: 51.92 kB / 255.3 MB, free: 3.137 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.676e-05/0.01666, allocations: 63.77 kB / 255.3 MB, free: 3.074 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.233e-05/0.01675, allocations: 83.75 kB / 255.4 MB, free: 2.992 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.01706, allocations: 207.2 kB / 255.6 MB, free: 2.789 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.01707, allocations: 0 / 255.6 MB, free: 2.789 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.01707, allocations: 0 / 255.6 MB, free: 2.789 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.01707, allocations: 0 / 255.6 MB, free: 2.789 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.0007182/0.01779, allocations: 0.5778 MB / 256.2 MB, free: 2.176 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.01783, allocations: 15.98 kB / 256.2 MB, free: 2.16 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.018, allocations: 52.67 kB / 256.3 MB, free: 2.109 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.01826, allocations: 193.2 kB / 256.4 MB, free: 1.891 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.01828, allocations: 12.38 kB / 256.5 MB, free: 1.879 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.01832, allocations: 12.38 kB / 256.5 MB, free: 1.867 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.01861, allocations: 154.4 kB / 256.6 MB, free: 1.707 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.01862, allocations: 3.938 kB / 256.6 MB, free: 1.703 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.01864, allocations: 4 kB / 256.6 MB, free: 1.699 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.01865, allocations: 4 kB / 256.6 MB, free: 1.695 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003217/0.02187, allocations: 71.94 kB / 256.7 MB, free: 1.625 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007386/0.0226, allocations: 0.503 MB / 257.2 MB, free: 1.086 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.02282, allocations: 130.8 kB / 257.3 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.119e-05/0.02291, allocations: 59.28 kB / 257.4 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.02293, allocations: 4 kB / 257.4 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.02308, allocations: 105 kB / 257.5 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of pre-optimization done (n=20): time 1.894e-06/0.02308, allocations: 0 / 257.5 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003273/0.02341, allocations: 185.8 kB / 257.7 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.02344, allocations: 55.41 kB / 257.7 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.02362, allocations: 269.8 kB / 258 MB, free: 236 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.02364, allocations: 29.7 kB / 258 MB, free: 200 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.946e-05/0.02373, allocations: 195.1 kB / 258.2 MB, free: 0 / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/0.0238, allocations: 63.59 kB / 258.3 MB, free: 15.93 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.105e-05/0.02386, allocations: 51.36 kB / 258.3 MB, free: 15.88 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.02399, allocations: 0.5079 MB / 258.8 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.842e-05/0.02405, allocations: 23.98 kB / 258.9 MB, free: 15.33 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.714e-05/0.02413, allocations: 78.59 kB / 258.9 MB, free: 15.24 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.02428, allocations: 122.6 kB / 259.1 MB, free: 15.1 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.02428, allocations: 0 / 259.1 MB, free: 15.1 MB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002304/0.02451, allocations: 173.3 kB / 259.2 MB, free: 14.93 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.02453, allocations: 8 kB / 259.2 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.02453, allocations: 0 / 259.2 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.02455, allocations: 0 / 259.2 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003201/0.02775, allocations: 55.91 kB / 259.3 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.02776, allocations: 4.094 kB / 259.3 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7e-05/0.02783, allocations: 15.89 kB / 259.3 MB, free: 14.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.02784, allocations: 8 kB / 259.3 MB, free: 14.84 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.0001114/0.02795, allocations: 180.4 kB / 259.5 MB, free: 14.65 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.026e-05/0.02799, allocations: 27.84 kB / 259.5 MB, free: 14.62 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.0283, allocations: 171.4 kB / 259.7 MB, free: 14.45 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.0283, allocations: 0 / 259.7 MB, free: 14.45 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.0283, allocations: 0 / 259.7 MB, free: 14.45 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.02831, allocations: 0 / 259.7 MB, free: 14.45 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.02851, allocations: 216.4 kB / 259.9 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.02852, allocations: 8 kB / 259.9 MB, free: 14.19 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.02867, allocations: 39.92 kB / 259.9 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.02867, allocations: 4 kB / 259.9 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.02868, allocations: 0 / 259.9 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.02869, allocations: 0 / 259.9 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02869, allocations: 0 / 259.9 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.02902, allocations: 248.1 kB / 260.2 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.59e-05/0.02905, allocations: 19.8 kB / 260.2 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.02907, allocations: 8 kB / 260.2 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.202e-05/0.02912, allocations: 11.98 kB / 260.2 MB, free: 13.84 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.02916, allocations: 12.02 kB / 260.2 MB, free: 13.83 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.02918, allocations: 15.86 kB / 260.3 MB, free: 13.82 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001111/0.02929, allocations: 196.5 kB / 260.4 MB, free: 13.62 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02929, allocations: 0 / 260.4 MB, free: 13.62 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002507/0.02954, allocations: 55.89 kB / 260.5 MB, free: 13.57 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.0008575/0.0304, allocations: 393.5 kB / 260.9 MB, free: 13.23 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003244/0.03365, allocations: 116 kB / 261 MB, free: 13.11 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.03365, allocations: 0 / 261 MB, free: 13.11 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.514e-05/0.03374, allocations: 71.53 kB / 261.1 MB, free: 13.04 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.03404, allocations: 55.81 kB / 261.1 MB, free: 12.98 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008777/0.03492, allocations: 473.8 kB / 261.6 MB, free: 12.49 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.632e-05/0.03497, allocations: 91.91 kB / 261.7 MB, free: 12.38 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.804e-05/0.03504, allocations: 17.64 kB / 261.7 MB, free: 12.36 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.342e-05/0.03509, allocations: 32.48 kB / 261.7 MB, free: 12.33 MB / 250.7 MB Notification: Performance of SimCode: time 5.81e-07/0.03509, allocations: 0 / 261.7 MB, free: 12.33 MB / 250.7 MB Notification: Performance of Templates: time 0.008811/0.04391, allocations: 2.632 MB / 264.4 MB, free: 9.707 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.177220395300537]