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.001855/0.001855, allocations: 107 kB / 19.8 MB, free: 2.5 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.002243/0.002243, allocations: 218 kB / 23 MB, free: 5.574 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.475/1.475, allocations: 230.2 MB / 256.2 MB, free: 8.543 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.001828/0.001828, allocations: 59.91 kB / 376.4 MB, free: 3.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2381, allocations: 53.33 MB / 429.8 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002713/0.2408, allocations: 1.648 MB / 431.4 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008921/0.2417, allocations: 0.5495 MB / 432 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.961e-05/0.2417, allocations: 7.938 kB / 432 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.238e-05/0.2418, allocations: 11.86 kB / 432 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.833e-05/0.2418, allocations: 23.78 kB / 432 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.242, allocations: 39.83 kB / 432.1 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.2422, allocations: 95.59 kB / 432.1 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.2423, allocations: 31.97 kB / 432.2 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.174e-05/0.2424, allocations: 39.86 kB / 432.2 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.512e-05/0.2424, allocations: 35.84 kB / 432.3 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.2425, allocations: 8 kB / 432.3 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.85e-05/0.2425, allocations: 16 kB / 432.3 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.142e-05/0.2426, allocations: 19.92 kB / 432.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.818e-05/0.2426, allocations: 43.84 kB / 432.3 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.2428, allocations: 100.8 kB / 432.4 MB, free: 4.898 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2428, allocations: 4 kB / 432.4 MB, free: 4.895 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2428, allocations: 0 / 432.4 MB, free: 4.895 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.2428, allocations: 0 / 432.4 MB, free: 4.895 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.0004892/0.2433, allocations: 375.3 kB / 432.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2433, allocations: 11.97 kB / 432.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.2434, allocations: 16.88 kB / 432.8 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.2436, allocations: 176.3 kB / 433 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.2436, allocations: 4.375 kB / 433 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.2436, allocations: 12.38 kB / 433 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.2438, allocations: 93.91 kB / 433.1 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.2438, allocations: 0 / 433.1 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.2438, allocations: 4 kB / 433.1 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2438, allocations: 0 / 433.1 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.2439, allocations: 55.95 kB / 433.2 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006542/0.2446, allocations: 392.5 kB / 433.6 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.2447, allocations: 74.55 kB / 433.6 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.646e-05/0.2448, allocations: 32.84 kB / 433.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.2448, allocations: 4 kB / 433.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.2448, allocations: 34.56 kB / 433.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.2448, allocations: 3.938 kB / 433.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002086/0.245, allocations: 89.61 kB / 433.8 MB, free: 3.375 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.2451, allocations: 55.41 kB / 433.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.294e-05/0.2452, allocations: 110 kB / 434 MB, free: 3.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.2452, allocations: 25.7 kB / 434 MB, free: 3.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.944e-05/0.2452, allocations: 104 kB / 434.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.2453, allocations: 31.89 kB / 434.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.2453, allocations: 21.72 kB / 434.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2454, allocations: 318.8 kB / 434.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.144e-05/0.2455, allocations: 20 kB / 434.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.95e-05/0.2456, allocations: 46.56 kB / 434.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.2457, allocations: 74.48 kB / 434.6 MB, free: 2.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2457, allocations: 0 / 434.6 MB, free: 2.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001656/0.2458, allocations: 113.4 kB / 434.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.2459, allocations: 8 kB / 434.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.2459, allocations: 4.062 kB / 434.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.2459, allocations: 3.938 kB / 434.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.246, allocations: 27.92 kB / 434.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.246, allocations: 4 kB / 434.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.351e-05/0.246, allocations: 11.89 kB / 434.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.2461, allocations: 4 kB / 434.8 MB, free: 2.34 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.615e-05/0.2461, allocations: 113.8 kB / 434.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.2462, allocations: 4 kB / 434.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.65e-05/0.2462, allocations: 12.36 kB / 434.9 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.2462, allocations: 7.938 kB / 434.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2462, allocations: 0 / 434.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2462, allocations: 4 kB / 434.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.2464, allocations: 185.6 kB / 435.1 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2464, allocations: 0 / 435.1 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.2465, allocations: 19.94 kB / 435.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2465, allocations: 0 / 435.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.2465, allocations: 0 / 435.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.2466, allocations: 7.875 kB / 435.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2466, allocations: 0 / 435.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.2468, allocations: 203.5 kB / 435.3 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.2468, allocations: 85 kB / 435.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.2469, allocations: 3.984 kB / 435.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.929e-05/0.2469, allocations: 4.188 kB / 435.4 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/0.2469, allocations: 4 kB / 435.4 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.2469, allocations: 8 kB / 435.4 MB, free: 1.598 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.227e-05/0.247, allocations: 87.27 kB / 435.5 MB, free: 1.512 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.247, allocations: 0 / 435.5 MB, free: 1.512 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003081/0.2473, allocations: 28 kB / 435.5 MB, free: 1.484 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.0001013/0.2474, allocations: 95.25 kB / 435.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000147/0.2475, allocations: 51.92 kB / 435.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2475, allocations: 0 / 435.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.747e-05/0.2476, allocations: 23.98 kB / 435.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.2478, allocations: 4 kB / 435.7 MB, free: 1.305 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006045/0.2484, allocations: 338.2 kB / 436 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.2488, allocations: 0.6924 MB / 436.7 MB, free: 232 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.343e-05/0.2488, allocations: 11.94 kB / 436.7 MB, free: 220 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.2488, allocations: 15.44 kB / 436.7 MB, free: 204 kB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2488, allocations: 3.938 kB / 436.7 MB, free: 200 kB / 334.1 MB Notification: Performance of Templates: time 0.002976/0.2518, allocations: 0.6548 MB / 437.4 MB, free: 15.55 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins/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: 4.297190612182021]