Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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.0009414/0.0009414, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001077/0.001077, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9836/0.9836, allocations: 177.2 MB / 205 MB, free: 5.277 MB / 186.7 MB " [Timeout remaining time 179] 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.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.381e-05, allocations: 2.312 kB / 272.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.005354/0.005378, allocations: 1.686 MB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007578/0.006135, allocations: 0.5493 MB / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.006179, allocations: 0 / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.001e-05/0.006229, allocations: 15.86 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.9e-05/0.006298, allocations: 23.72 kB / 275.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.006497, allocations: 35.89 kB / 275.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.006623, allocations: 103.5 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.006732, allocations: 19.98 kB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.892e-05/0.006801, allocations: 59.88 kB / 275.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.051e-05/0.006881, allocations: 31.92 kB / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.006902, allocations: 8 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.498e-05/0.006966, allocations: 11.98 kB / 275.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/0.00699, allocations: 15.98 kB / 275.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.014e-05/0.00703, allocations: 35.91 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003148/0.01018, allocations: 71.75 kB / 275.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.01018, allocations: 0 / 275.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01018, allocations: 0 / 275.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.01019, allocations: 3.938 kB / 275.6 MB, free: 14.74 MB / 266.7 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.0003993/0.01058, allocations: 408.4 kB / 276 MB, free: 14.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.01062, allocations: 8.031 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.01076, allocations: 32.72 kB / 276 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.283e-05/0.01084, allocations: 104.6 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.01086, allocations: 8.375 kB / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.01088, allocations: 12.38 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.01101, allocations: 70.16 kB / 276.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.01103, allocations: 192 / 276.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.01104, allocations: 8.375 kB / 276.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.01105, allocations: 3.938 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.392e-05/0.01113, allocations: 39.92 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/0.01165, allocations: 375.4 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.01177, allocations: 63.05 kB / 276.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.241e-05/0.01181, allocations: 31.67 kB / 276.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.054e-06/0.01182, allocations: 0 / 276.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.01184, allocations: 41.33 kB / 276.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.01184, allocations: 3.938 kB / 276.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001814/0.01202, allocations: 81.8 kB / 276.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.01205, allocations: 51.41 kB / 276.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.732e-05/0.01213, allocations: 169.9 kB / 277.1 MB, free: 13.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.01214, allocations: 25.7 kB / 277.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.0122, allocations: 154.8 kB / 277.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.01222, allocations: 31.73 kB / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.01227, allocations: 31.38 kB / 277.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.01238, allocations: 496.1 kB / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.192e-05/0.01241, allocations: 19.98 kB / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.958e-05/0.01246, allocations: 50.86 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.543e-05/0.01254, allocations: 55.05 kB / 277.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01254, allocations: 4 kB / 277.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001337/0.01268, allocations: 101.5 kB / 278 MB, free: 12.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.01269, allocations: 6.5 kB / 278 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.01269, allocations: 0 / 278 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.01271, allocations: 4 kB / 278 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.01281, allocations: 27.92 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.01281, allocations: 0 / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.299e-05/0.01285, allocations: 7.953 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.01285, allocations: 7.938 kB / 278.1 MB, free: 12.04 MB / 266.7 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 0.003316/0.01617, allocations: 164.6 kB / 278.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.0162, allocations: 4 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.002e-05/0.01623, allocations: 8.438 kB / 278.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01623, allocations: 0 / 278.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.01624, allocations: 11.92 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01624, allocations: 0 / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.01638, allocations: 140.5 kB / 278.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01638, allocations: 0 / 278.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.926e-05/0.01647, allocations: 23.98 kB / 278.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.01647, allocations: 0 / 278.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.01649, allocations: 0 / 278.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.01649, allocations: 4 kB / 278.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01649, allocations: 4 kB / 278.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.01667, allocations: 235.8 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.156e-06/0.01668, allocations: 7.938 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.01669, allocations: 256 / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.98e-05/0.01674, allocations: 4 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.84e-05/0.01676, allocations: 7.984 kB / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.01677, allocations: 4 kB / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.959e-05/0.01681, allocations: 123.2 kB / 278.8 MB, free: 11.24 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01681, allocations: 0 / 278.8 MB, free: 11.24 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000254/0.01706, allocations: 31.98 kB / 278.9 MB, free: 11.21 MB / 266.7 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 7.227e-05/0.01713, allocations: 91.25 kB / 278.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.01726, allocations: 63.47 kB / 279 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.01726, allocations: 0 / 279 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.913e-05/0.01729, allocations: 27.67 kB / 279 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.01753, allocations: 8.547 kB / 279 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006381/0.01817, allocations: 266.2 kB / 279.3 MB, free: 10.72 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.179e-05/0.01821, allocations: 63.34 kB / 279.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.792e-05/0.01824, allocations: 3.984 kB / 279.4 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.01827, allocations: 12.5 kB / 279.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01827, allocations: 0 / 279.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of Templates: time 0.005506/0.02377, allocations: 0.6274 MB / 280 MB, free: 10 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6581207141280174]