Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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.001759/0.001759, allocations: 103.6 kB / 20.43 MB, free: 1.211 MB / 14.72 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.002236/0.002236, allocations: 186.5 kB / 23.71 MB, free: 4.434 MB / 14.72 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.474/1.474, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 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.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 47.92 kB / 370.9 MB, free: 9.215 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3298, allocations: 52.19 MB / 423 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002784/0.3326, allocations: 1.592 MB / 424.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008614/0.3334, allocations: 494.9 kB / 425.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.78e-05/0.3335, allocations: 0 / 425.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.091e-05/0.3335, allocations: 15.86 kB / 425.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.195e-05/0.3336, allocations: 27.77 kB / 425.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.3338, allocations: 27.91 kB / 425.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.3339, allocations: 103.5 kB / 425.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3341, allocations: 27.97 kB / 425.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.763e-05/0.3341, allocations: 31.88 kB / 425.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.064e-05/0.3342, allocations: 39.78 kB / 425.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.3342, allocations: 8 kB / 425.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-05/0.3343, allocations: 11.94 kB / 425.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.216e-05/0.3344, allocations: 27.97 kB / 425.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.022e-05/0.3344, allocations: 35.86 kB / 425.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.3346, allocations: 109.8 kB / 425.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3346, allocations: 0 / 425.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3346, allocations: 0 / 425.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.3346, allocations: 0 / 425.6 MB, free: 11.93 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000491/0.3351, allocations: 302.1 kB / 425.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3351, allocations: 8.031 kB / 425.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.3353, allocations: 16.88 kB / 425.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.3354, allocations: 114.5 kB / 426 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.3354, allocations: 4.375 kB / 426 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.3355, allocations: 12.38 kB / 426 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.3357, allocations: 97.86 kB / 426.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.3357, allocations: 0 / 426.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.3357, allocations: 0 / 426.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3357, allocations: 0 / 426.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.3358, allocations: 51.97 kB / 426.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006998/0.3365, allocations: 320.2 kB / 426.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.3367, allocations: 74.55 kB / 426.6 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.629e-05/0.3367, allocations: 28.84 kB / 426.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.3367, allocations: 4 kB / 426.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.3368, allocations: 34.5 kB / 426.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.3368, allocations: 0 / 426.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002416/0.337, allocations: 97.94 kB / 426.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.3371, allocations: 55.34 kB / 426.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.3372, allocations: 109.8 kB / 426.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.3372, allocations: 25.7 kB / 426.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.776e-05/0.3373, allocations: 103.9 kB / 427 MB, free: 10.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.3373, allocations: 35.73 kB / 427 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.3373, allocations: 29.7 kB / 427.1 MB, free: 10.28 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3375, allocations: 314.8 kB / 427.4 MB, free: 9.965 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.552e-05/0.3375, allocations: 23.98 kB / 427.4 MB, free: 9.941 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.178e-05/0.3376, allocations: 46.5 kB / 427.4 MB, free: 9.887 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.3377, allocations: 66.52 kB / 427.5 MB, free: 9.812 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3377, allocations: 0 / 427.5 MB, free: 9.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001505/0.3378, allocations: 97.62 kB / 427.6 MB, free: 9.711 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3379, allocations: 10.25 kB / 427.6 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3379, allocations: 4 kB / 427.6 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3379, allocations: 3.984 kB / 427.6 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.338, allocations: 27.88 kB / 427.7 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.338, allocations: 3.938 kB / 427.7 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.133e-05/0.3381, allocations: 15.89 kB / 427.7 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.3381, allocations: 4.25 kB / 427.7 MB, free: 9.645 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.867e-05/0.3382, allocations: 117.8 kB / 427.8 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.3382, allocations: 7.953 kB / 427.8 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.3382, allocations: 12.38 kB / 427.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3382, allocations: 8 kB / 427.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.3382, allocations: 7.922 kB / 427.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3382, allocations: 3.938 kB / 427.8 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.3384, allocations: 121.3 kB / 428 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3384, allocations: 0 / 428 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.3385, allocations: 23.92 kB / 428 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3385, allocations: 0 / 428 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.3385, allocations: 0 / 428 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3385, allocations: 0 / 428 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3385, allocations: 4 kB / 428 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.3387, allocations: 199.4 kB / 428.2 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.173e-05/0.3387, allocations: 11.95 kB / 428.2 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.3388, allocations: 4.031 kB / 428.2 MB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.787e-05/0.3388, allocations: 4 kB / 428.2 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.319e-05/0.3388, allocations: 11.86 kB / 428.2 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.3388, allocations: 4 kB / 428.2 MB, free: 9.055 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.185e-05/0.3389, allocations: 83.28 kB / 428.3 MB, free: 8.973 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3389, allocations: 0 / 428.3 MB, free: 8.973 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000233/0.3391, allocations: 20 kB / 428.3 MB, free: 8.953 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0001049/0.3392, allocations: 99.23 kB / 428.4 MB, free: 8.848 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001309/0.3394, allocations: 55.92 kB / 428.5 MB, free: 8.793 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3394, allocations: 0 / 428.5 MB, free: 8.793 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.382e-05/0.3394, allocations: 20 kB / 428.5 MB, free: 8.773 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.3397, allocations: 11.98 kB / 428.5 MB, free: 8.762 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005847/0.3402, allocations: 315.2 kB / 428.8 MB, free: 8.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.536e-05/0.3403, allocations: 83.27 kB / 428.9 MB, free: 8.328 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.377e-05/0.3404, allocations: 11.92 kB / 428.9 MB, free: 8.316 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.3404, allocations: 7.438 kB / 428.9 MB, free: 8.309 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3404, allocations: 0 / 428.9 MB, free: 8.309 MB / 334.1 MB Notification: Performance of Templates: time 0.003126/0.3435, allocations: 0.6821 MB / 429.6 MB, free: 7.641 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.5048307329416275]