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.0009111/0.0009111, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.0009798/0.0009798, allocations: 169.9 kB / 24.91 MB, free: 9.191 MB / 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.9188/0.9188, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.202e-06/1.202e-06, allocations: 0 / 273.4 MB, free: 1.344 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.789e-06/1.099e-05, allocations: 2.312 kB / 273.4 MB, free: 1.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001634/0.001645, allocations: 1.688 MB / 275.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00055/0.002195, allocations: 0.5453 MB / 275.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.002226, allocations: 0 / 275.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.037e-05/0.002256, allocations: 15.92 kB / 275.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.781e-05/0.002304, allocations: 27.7 kB / 275.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001186/0.002423, allocations: 35.83 kB / 275.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.087e-05/0.002504, allocations: 103.4 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.111e-05/0.002575, allocations: 23.97 kB / 275.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.617e-05/0.002621, allocations: 51.95 kB / 275.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.748e-05/0.002678, allocations: 39.89 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.002691, allocations: 8 kB / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.167e-05/0.002733, allocations: 12 kB / 276 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.002748, allocations: 23.91 kB / 276 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.002772, allocations: 27.98 kB / 276 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.524e-05/0.002857, allocations: 71.75 kB / 276.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.352e-06/0.002859, allocations: 0 / 276.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.8e-07/0.002859, allocations: 0 / 276.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.575e-06/0.002862, allocations: 0 / 276.1 MB, free: 14.66 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.0002082/0.00307, allocations: 272.8 kB / 276.3 MB, free: 14.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.392e-05/0.003094, allocations: 16.02 kB / 276.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.174e-05/0.003175, allocations: 36.73 kB / 276.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.5e-05/0.00323, allocations: 109.7 kB / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-06/0.003238, allocations: 4.375 kB / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.003252, allocations: 12.31 kB / 276.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.69e-05/0.003318, allocations: 66.22 kB / 276.6 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.003325, allocations: 192 / 276.6 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.029e-06/0.00333, allocations: 384 / 276.6 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.003334, allocations: 7.938 kB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.101e-05/0.003375, allocations: 34.86 kB / 276.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.003662, allocations: 259.9 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.924e-05/0.003721, allocations: 58.47 kB / 276.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.839e-05/0.00374, allocations: 12.86 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.269e-06/0.003745, allocations: 4 kB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.003759, allocations: 30.56 kB / 277 MB, free: 13.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 7.11e-07/0.00376, allocations: 0 / 277 MB, free: 13.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 7.657e-05/0.003837, allocations: 65.61 kB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/0.003858, allocations: 55.41 kB / 277.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.401e-05/0.003902, allocations: 114.8 kB / 277.2 MB, free: 13.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.003909, allocations: 25.7 kB / 277.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.003942, allocations: 108.1 kB / 277.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.003958, allocations: 31.73 kB / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.003983, allocations: 25.7 kB / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.645e-05/0.004049, allocations: 322.8 kB / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.111e-05/0.00406, allocations: 8 kB / 277.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.314e-05/0.004083, allocations: 30.56 kB / 277.8 MB, free: 12.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.035e-05/0.004124, allocations: 54.47 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.004125, allocations: 4 kB / 277.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 6.124e-05/0.004186, allocations: 81.53 kB / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.625e-06/0.004194, allocations: 4 kB / 277.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-06/0.004197, allocations: 4 kB / 277.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.21e-06/0.004202, allocations: 0 / 277.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.707e-05/0.004259, allocations: 20 kB / 277.9 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.004262, allocations: 3.984 kB / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.991e-05/0.004281, allocations: 7.953 kB / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.004286, allocations: 8 kB / 277.9 MB, free: 12.63 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 4.507e-05/0.004332, allocations: 117.8 kB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.004345, allocations: 8 kB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.584e-05/0.004361, allocations: 8.438 kB / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.004364, allocations: 4 kB / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.42e-07/0.004365, allocations: 0 / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.004369, allocations: 3.984 kB / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.964e-05/0.004458, allocations: 81.77 kB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.004459, allocations: 0 / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.698e-05/0.004506, allocations: 19.98 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.004508, allocations: 4 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.004514, allocations: 4 kB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.004515, allocations: 4.25 kB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.004515, allocations: 0 / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.432e-05/0.00461, allocations: 175.4 kB / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-06/0.004615, allocations: 3.953 kB / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-06/0.004624, allocations: 8 kB / 278.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.646e-05/0.004651, allocations: 0 / 278.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-06/0.004659, allocations: 3.984 kB / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-06/0.004662, allocations: 4 kB / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.276e-06/0.00467, allocations: 8.859 kB / 278.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00467, allocations: 0 / 278.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000119/0.004789, allocations: 27.97 kB / 278.4 MB, free: 12.1 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 4.35e-05/0.004833, allocations: 76.42 kB / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.367e-05/0.004886, allocations: 52.81 kB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.004888, allocations: 0 / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.695e-05/0.004905, allocations: 24.78 kB / 278.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.391e-05/0.004999, allocations: 11.94 kB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003619/0.005361, allocations: 256.5 kB / 278.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.95e-05/0.00539, allocations: 67.34 kB / 278.9 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.867e-05/0.005409, allocations: 4 kB / 278.9 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.005444, allocations: 55.38 kB / 279 MB, free: 11.5 MB / 266.7 MB Notification: Performance of SimCode: time 3.21e-07/0.005444, allocations: 0 / 279 MB, free: 11.5 MB / 266.7 MB Notification: Performance of Templates: time 0.001806/0.00725, allocations: 0.6847 MB / 279.6 MB, free: 10.84 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.5563417579978704]