Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001303/0.001303, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001564/0.001564, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 230.5 MB / 258.1 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.88 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2644, allocations: 53.4 MB / 432.4 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002869/0.2673, allocations: 1.655 MB / 434.1 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009986/0.2683, allocations: 0.5572 MB / 434.6 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.142e-05/0.2683, allocations: 4 kB / 434.6 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.998e-05/0.2684, allocations: 11.86 kB / 434.6 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.901e-05/0.2685, allocations: 31.77 kB / 434.7 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.2687, allocations: 27.91 kB / 434.7 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.2688, allocations: 99.58 kB / 434.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.269, allocations: 27.98 kB / 434.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.528e-05/0.269, allocations: 39.8 kB / 434.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.2691, allocations: 39.84 kB / 434.9 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.2691, allocations: 8 kB / 434.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.379e-05/0.2692, allocations: 15.98 kB / 434.9 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.71e-05/0.2693, allocations: 19.94 kB / 434.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.935e-05/0.2693, allocations: 43.86 kB / 435 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.2695, allocations: 100.9 kB / 435.1 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2695, allocations: 0 / 435.1 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2695, allocations: 4 kB / 435.1 MB, free: 4.078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.2695, allocations: 0 / 435.1 MB, free: 4.078 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.0005172/0.27, allocations: 302.1 kB / 435.4 MB, free: 3.754 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.2701, allocations: 12.03 kB / 435.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.2702, allocations: 8.891 kB / 435.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.2703, allocations: 118.4 kB / 435.5 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.2703, allocations: 12.38 kB / 435.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.2704, allocations: 8.375 kB / 435.5 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.2706, allocations: 96.66 kB / 435.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.2706, allocations: 0 / 435.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.2706, allocations: 0 / 435.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.2706, allocations: 4 kB / 435.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.2707, allocations: 51.97 kB / 435.7 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007179/0.2714, allocations: 375.5 kB / 436.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.2716, allocations: 66.5 kB / 436.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.68e-05/0.2716, allocations: 36.84 kB / 436.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.2716, allocations: 0 / 436.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.2717, allocations: 30.56 kB / 436.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.61e-07/0.2717, allocations: 0 / 436.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002088/0.2719, allocations: 93.77 kB / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.2719, allocations: 51.41 kB / 436.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.493e-05/0.272, allocations: 110 kB / 436.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.272, allocations: 29.7 kB / 436.5 MB, free: 2.547 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.2721, allocations: 107.9 kB / 436.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.2721, allocations: 31.73 kB / 436.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.2722, allocations: 25.66 kB / 436.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.2723, allocations: 318.8 kB / 436.9 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.969e-05/0.2723, allocations: 24 kB / 437 MB, free: 2.031 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.427e-05/0.2724, allocations: 42.56 kB / 437 MB, free: 1.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.729e-05/0.2725, allocations: 66.56 kB / 437.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2725, allocations: 3.938 kB / 437.1 MB, free: 1.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001584/0.2727, allocations: 109.6 kB / 437.2 MB, free: 1.789 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.2727, allocations: 14.44 kB / 437.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.2727, allocations: 0 / 437.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.2727, allocations: 7.938 kB / 437.2 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.2728, allocations: 23.98 kB / 437.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2728, allocations: 0 / 437.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.2729, allocations: 11.94 kB / 437.2 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.2729, allocations: 0 / 437.2 MB, free: 1.734 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.126e-05/0.273, allocations: 117.8 kB / 437.4 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.273, allocations: 7.953 kB / 437.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.124e-05/0.273, allocations: 12.38 kB / 437.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.273, allocations: 7.938 kB / 437.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.273, allocations: 0 / 437.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.273, allocations: 3.984 kB / 437.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.2732, allocations: 156.7 kB / 437.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2732, allocations: 0 / 437.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.2733, allocations: 19.98 kB / 437.6 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2733, allocations: 3.938 kB / 437.6 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.2734, allocations: 4 kB / 437.6 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.2734, allocations: 7.875 kB / 437.6 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2734, allocations: 4 kB / 437.6 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.2736, allocations: 195.7 kB / 437.8 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.24e-05/0.2736, allocations: 7.922 kB / 437.8 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.2736, allocations: 4 kB / 437.8 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.88e-05/0.2737, allocations: 3.938 kB / 437.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.2737, allocations: 3.984 kB / 437.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.2737, allocations: 8 kB / 437.8 MB, free: 1.105 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.372e-05/0.2737, allocations: 87.59 kB / 437.9 MB, free: 1.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2737, allocations: 0 / 437.9 MB, free: 1.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.274, allocations: 24 kB / 437.9 MB, free: 0.9961 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 9.934e-05/0.2741, allocations: 95.23 kB / 438 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.2742, allocations: 52 kB / 438 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.2742, allocations: 0 / 438 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.449e-05/0.2743, allocations: 31.97 kB / 438.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.2746, allocations: 4.125 kB / 438.1 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006366/0.2752, allocations: 360.2 kB / 438.4 MB, free: 440 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.2756, allocations: 0.6885 MB / 439.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.2756, allocations: 11.44 kB / 439.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2756, allocations: 4 kB / 439.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of Templates: time 0.002554/0.2782, allocations: 0.9729 MB / 440.1 MB, free: 14.72 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 6.874759953003377]