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.001872/0.001872, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002271/0.002271, allocations: 215.5 kB / 24.48 MB, free: 3.938 MB / 14.72 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 1.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002244/0.002244, allocations: 55.92 kB / 378.9 MB, free: 2.566 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2417, allocations: 53.37 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002738/0.2444, allocations: 1.597 MB / 433.9 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008707/0.2453, allocations: 0.526 MB / 434.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.872e-05/0.2453, allocations: 4 kB / 434.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.412e-05/0.2454, allocations: 7.922 kB / 434.5 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.176e-05/0.2455, allocations: 27.72 kB / 434.5 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.2457, allocations: 27.95 kB / 434.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.2458, allocations: 107.5 kB / 434.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.2459, allocations: 31.97 kB / 434.6 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.745e-05/0.246, allocations: 31.92 kB / 434.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.368e-05/0.2461, allocations: 43.84 kB / 434.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.2461, allocations: 8 kB / 434.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.575e-05/0.2461, allocations: 8 kB / 434.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.43e-05/0.2462, allocations: 19.92 kB / 434.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.427e-05/0.2462, allocations: 39.86 kB / 434.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.2464, allocations: 101.3 kB / 434.9 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2464, allocations: 7.984 kB / 434.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2464, allocations: 0 / 434.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.2464, allocations: 0 / 434.9 MB, free: 4.152 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.0004583/0.2469, allocations: 298.2 kB / 435.2 MB, free: 3.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.2469, allocations: 8.031 kB / 435.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.247, allocations: 12.89 kB / 435.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.2471, allocations: 122.3 kB / 435.3 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.2471, allocations: 8.375 kB / 435.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.2472, allocations: 12.38 kB / 435.3 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.2473, allocations: 84.16 kB / 435.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.2473, allocations: 8 kB / 435.4 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.2474, allocations: 4 kB / 435.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.2474, allocations: 0 / 435.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.2475, allocations: 55.91 kB / 435.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006207/0.2481, allocations: 320.2 kB / 435.8 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.2482, allocations: 74.48 kB / 435.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.706e-05/0.2483, allocations: 32.84 kB / 435.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.2483, allocations: 4 kB / 435.9 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.2483, allocations: 34.56 kB / 436 MB, free: 2.988 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.2483, allocations: 0 / 436 MB, free: 2.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002078/0.2485, allocations: 85.62 kB / 436 MB, free: 2.898 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.2486, allocations: 59.33 kB / 436.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.712e-05/0.2487, allocations: 113.9 kB / 436.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.2487, allocations: 29.7 kB / 436.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.2488, allocations: 104 kB / 436.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.2488, allocations: 35.88 kB / 436.4 MB, free: 2.531 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.2488, allocations: 21.72 kB / 436.4 MB, free: 2.504 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.249, allocations: 318.8 kB / 436.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.276e-05/0.249, allocations: 24 kB / 436.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.272e-05/0.2491, allocations: 42.56 kB / 436.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.2492, allocations: 70.5 kB / 436.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2492, allocations: 0 / 436.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001771/0.2494, allocations: 109.5 kB / 436.9 MB, free: 1.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.2494, allocations: 4 kB / 436.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2494, allocations: 4 kB / 436.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.2494, allocations: 0 / 436.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.2495, allocations: 28.05 kB / 437 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2495, allocations: 3.938 kB / 437 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.713e-05/0.2496, allocations: 11.89 kB / 437 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.2496, allocations: 8 kB / 437 MB, free: 1.859 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 8.746e-05/0.2497, allocations: 117.8 kB / 437.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.2497, allocations: 0 / 437.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.2497, allocations: 12.38 kB / 437.1 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2497, allocations: 3.984 kB / 437.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2497, allocations: 3.938 kB / 437.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.2497, allocations: 0 / 437.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.2499, allocations: 129.3 kB / 437.3 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2499, allocations: 0 / 437.3 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.25, allocations: 19.98 kB / 437.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.25, allocations: 0 / 437.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.25, allocations: 0 / 437.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.25, allocations: 0 / 437.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.25, allocations: 0 / 437.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.2502, allocations: 207.3 kB / 437.5 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.15e-05/0.2502, allocations: 7.891 kB / 437.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.2502, allocations: 0 / 437.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.968e-05/0.2503, allocations: 7.969 kB / 437.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/0.2503, allocations: 7.984 kB / 437.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.2503, allocations: 12 kB / 437.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.492e-05/0.2504, allocations: 83.53 kB / 437.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2504, allocations: 0 / 437.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.2506, allocations: 24 kB / 437.6 MB, free: 1.176 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 7.915e-05/0.2507, allocations: 95.19 kB / 437.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.2508, allocations: 55.91 kB / 437.8 MB, free: 1.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2508, allocations: 0 / 437.8 MB, free: 1.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.078e-05/0.2509, allocations: 28.33 kB / 437.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.2511, allocations: 7.641 kB / 437.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005852/0.2517, allocations: 323.1 kB / 438.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.722e-05/0.2518, allocations: 87.12 kB / 438.2 MB, free: 0.543 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.235e-05/0.2518, allocations: 7.953 kB / 438.2 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.2519, allocations: 11.44 kB / 438.2 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2519, allocations: 0 / 438.2 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of Templates: time 0.003055/0.2549, allocations: 0.7215 MB / 438.9 MB, free: 15.81 MB / 350.1 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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.230300412993529]