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.001383/0.001383, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001686/0.001686, allocations: 213.1 kB / 23.73 MB, free: 4.16 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.457/1.457, allocations: 230.5 MB / 257.4 MB, free: 7.805 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.002101/0.002101, allocations: 55.91 kB / 378.2 MB, free: 2.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2286, allocations: 53.41 MB / 431.6 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002829/0.2314, allocations: 1.597 MB / 433.2 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009652/0.2324, allocations: 0.5105 MB / 433.7 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.973e-05/0.2324, allocations: 4 kB / 433.7 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.833e-05/0.2325, allocations: 7.875 kB / 433.7 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.281e-05/0.2325, allocations: 31.77 kB / 433.8 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.2327, allocations: 35.83 kB / 433.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.2329, allocations: 111.5 kB / 433.9 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.233, allocations: 23.98 kB / 433.9 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.788e-05/0.2331, allocations: 27.94 kB / 434 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.16e-05/0.2332, allocations: 43.83 kB / 434 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.2332, allocations: 8 kB / 434 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.665e-05/0.2332, allocations: 8 kB / 434 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.414e-05/0.2333, allocations: 19.92 kB / 434 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.605e-05/0.2333, allocations: 43.86 kB / 434.1 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.2335, allocations: 101.9 kB / 434.2 MB, free: 3.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2335, allocations: 0 / 434.2 MB, free: 3.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2335, allocations: 0 / 434.2 MB, free: 3.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.2335, allocations: 0 / 434.2 MB, free: 3.98 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.0005177/0.234, allocations: 306.1 kB / 434.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.2341, allocations: 11.98 kB / 434.5 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.2342, allocations: 16.83 kB / 434.5 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.2343, allocations: 114.4 kB / 434.6 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.2344, allocations: 12.38 kB / 434.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.2344, allocations: 8.375 kB / 434.6 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.2346, allocations: 88.72 kB / 434.7 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.2346, allocations: 4 kB / 434.7 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.2346, allocations: 8 kB / 434.7 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2346, allocations: 0 / 434.7 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.2347, allocations: 51.97 kB / 434.8 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006621/0.2354, allocations: 320.2 kB / 435.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.2355, allocations: 78.48 kB / 435.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.506e-05/0.2356, allocations: 24.86 kB / 435.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.2356, allocations: 4 kB / 435.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.2356, allocations: 38.55 kB / 435.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.2356, allocations: 0 / 435.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002317/0.2359, allocations: 85.83 kB / 435.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.2359, allocations: 55.34 kB / 435.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.516e-05/0.236, allocations: 110 kB / 435.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.236, allocations: 29.64 kB / 435.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.212e-05/0.2361, allocations: 104 kB / 435.6 MB, free: 2.395 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.2361, allocations: 27.75 kB / 435.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.2362, allocations: 33.7 kB / 435.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2363, allocations: 314.8 kB / 436 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.546e-05/0.2364, allocations: 23.98 kB / 436 MB, free: 1.988 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.546e-05/0.2365, allocations: 42.56 kB / 436.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.2366, allocations: 66.52 kB / 436.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2366, allocations: 0 / 436.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001786/0.2367, allocations: 117.4 kB / 436.2 MB, free: 1.742 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.2368, allocations: 10.33 kB / 436.2 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2368, allocations: 8.062 kB / 436.3 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.2368, allocations: 0 / 436.3 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.2369, allocations: 20 kB / 436.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.2369, allocations: 3.938 kB / 436.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.672e-05/0.237, allocations: 11.89 kB / 436.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.237, allocations: 4 kB / 436.3 MB, free: 1.688 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 0.0001004/0.2371, allocations: 125.8 kB / 436.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.2371, allocations: 0 / 436.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.477e-05/0.2371, allocations: 12.38 kB / 436.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2371, allocations: 0 / 436.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2372, allocations: 7.938 kB / 436.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2372, allocations: 0 / 436.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.2373, allocations: 133.2 kB / 436.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2373, allocations: 0 / 436.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.2374, allocations: 23.98 kB / 436.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2374, allocations: 0 / 436.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.2374, allocations: 256 / 436.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.2375, allocations: 4.312 kB / 436.6 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2375, allocations: 3.938 kB / 436.6 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.2377, allocations: 199.4 kB / 436.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.313e-05/0.2377, allocations: 7.891 kB / 436.8 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.2377, allocations: 8.062 kB / 436.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.988e-05/0.2378, allocations: 4.031 kB / 436.8 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.2378, allocations: 7.922 kB / 436.8 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.2378, allocations: 4 kB / 436.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.92e-05/0.2379, allocations: 87.27 kB / 436.9 MB, free: 1.012 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2379, allocations: 0 / 436.9 MB, free: 1.012 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.2381, allocations: 24 kB / 436.9 MB, free: 0.9883 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.845e-05/0.2382, allocations: 91.25 kB / 437 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.2384, allocations: 52.05 kB / 437.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2384, allocations: 4 kB / 437.1 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.998e-05/0.2384, allocations: 27.91 kB / 437.1 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.2387, allocations: 8 kB / 437.1 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000637/0.2394, allocations: 307.2 kB / 437.4 MB, free: 488 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.871e-05/0.2395, allocations: 87.78 kB / 437.5 MB, free: 380 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.571e-05/0.2395, allocations: 11.94 kB / 437.5 MB, free: 368 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.2395, allocations: 11.44 kB / 437.5 MB, free: 356 kB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2395, allocations: 3.938 kB / 437.5 MB, free: 352 kB / 334.1 MB Notification: Performance of Templates: time 0.003157/0.2427, allocations: 0.6861 MB / 438.2 MB, free: 15.67 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.3628443498164415]