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.001849/0.001849, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002206/0.002206, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.464/1.464, allocations: 230.3 MB / 258 MB, free: 8.25 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.001909/0.001909, allocations: 64.12 kB / 378.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2307, allocations: 53.37 MB / 432.1 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.0028/0.2335, allocations: 1.647 MB / 433.8 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000947/0.2344, allocations: 0.5648 MB / 434.3 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.899e-05/0.2345, allocations: 4 kB / 434.3 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.106e-05/0.2345, allocations: 11.92 kB / 434.3 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.511e-05/0.2346, allocations: 27.72 kB / 434.4 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.2348, allocations: 27.95 kB / 434.4 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.235, allocations: 99.53 kB / 434.5 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.2351, allocations: 27.98 kB / 434.5 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.372e-05/0.2351, allocations: 35.86 kB / 434.5 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.854e-05/0.2352, allocations: 43.84 kB / 434.6 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.2352, allocations: 8 kB / 434.6 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.64e-05/0.2353, allocations: 8 kB / 434.6 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.84e-05/0.2353, allocations: 27.92 kB / 434.6 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.716e-05/0.2354, allocations: 39.86 kB / 434.7 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.2355, allocations: 105.3 kB / 434.8 MB, free: 4.406 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2356, allocations: 0 / 434.8 MB, free: 4.406 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.2356, allocations: 0 / 434.8 MB, free: 4.406 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.2356, allocations: 3.938 kB / 434.8 MB, free: 4.402 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.0004627/0.236, allocations: 298.1 kB / 435.1 MB, free: 4.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.2361, allocations: 12.03 kB / 435.1 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.2362, allocations: 8.891 kB / 435.1 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.2363, allocations: 122.4 kB / 435.2 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.2363, allocations: 8.375 kB / 435.2 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.2364, allocations: 12.38 kB / 435.2 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.2365, allocations: 84.89 kB / 435.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.2365, allocations: 0 / 435.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.2366, allocations: 7.984 kB / 435.3 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2366, allocations: 4 kB / 435.3 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.2367, allocations: 59.91 kB / 435.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006722/0.2374, allocations: 367.6 kB / 435.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.2375, allocations: 70.48 kB / 435.8 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.403e-05/0.2376, allocations: 36.84 kB / 435.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.2376, allocations: 0 / 435.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.2376, allocations: 34.56 kB / 435.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.2376, allocations: 4 kB / 435.9 MB, free: 3.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002023/0.2378, allocations: 85.56 kB / 436 MB, free: 3.086 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.2378, allocations: 51.41 kB / 436 MB, free: 3.023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.09e-05/0.2379, allocations: 110 kB / 436.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.2379, allocations: 33.7 kB / 436.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.1e-05/0.238, allocations: 99.92 kB / 436.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.238, allocations: 27.75 kB / 436.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.877e-05/0.2381, allocations: 29.7 kB / 436.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.2382, allocations: 322.8 kB / 436.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.598e-05/0.2383, allocations: 23.98 kB / 436.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.964e-05/0.2383, allocations: 38.56 kB / 436.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.2384, allocations: 74.39 kB / 436.8 MB, free: 2.227 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2384, allocations: 0 / 436.8 MB, free: 2.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001672/0.2386, allocations: 113.6 kB / 436.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2386, allocations: 4 kB / 436.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2386, allocations: 4 kB / 436.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.2387, allocations: 3.938 kB / 436.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.2388, allocations: 23.98 kB / 436.9 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.2388, allocations: 0 / 436.9 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.2388, allocations: 7.938 kB / 436.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.2388, allocations: 8 kB / 436.9 MB, free: 2.059 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.662e-05/0.2389, allocations: 121.8 kB / 437 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.239, allocations: 3.953 kB / 437 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.239, allocations: 12.38 kB / 437.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.239, allocations: 3.938 kB / 437.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.239, allocations: 0 / 437.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.239, allocations: 0 / 437.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.2392, allocations: 156.9 kB / 437.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2392, allocations: 0 / 437.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.2393, allocations: 27.92 kB / 437.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.2393, allocations: 4 kB / 437.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.2393, allocations: 0 / 437.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2393, allocations: 8.188 kB / 437.3 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2393, allocations: 4 kB / 437.3 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.2395, allocations: 195.7 kB / 437.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.525e-05/0.2396, allocations: 15.92 kB / 437.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.2396, allocations: 0 / 437.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.029e-05/0.2396, allocations: 3.938 kB / 437.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.2397, allocations: 7.984 kB / 437.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.2397, allocations: 0 / 437.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.038e-05/0.2397, allocations: 87.34 kB / 437.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2397, allocations: 0 / 437.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.24, allocations: 24 kB / 437.6 MB, free: 1.324 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.218e-05/0.2401, allocations: 95.19 kB / 437.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.2402, allocations: 59.89 kB / 437.7 MB, free: 1.164 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2402, allocations: 0 / 437.7 MB, free: 1.164 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.045e-05/0.2403, allocations: 27.94 kB / 437.8 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.2405, allocations: 8.125 kB / 437.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005861/0.2411, allocations: 326.9 kB / 438.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.2415, allocations: 0.6885 MB / 438.8 MB, free: 72 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.209e-05/0.2415, allocations: 11.95 kB / 438.8 MB, free: 60 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.2415, allocations: 11.44 kB / 438.8 MB, free: 48 kB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2415, allocations: 0 / 438.8 MB, free: 48 kB / 334.1 MB Notification: Performance of Templates: time 0.003188/0.2447, allocations: 0.6946 MB / 439.5 MB, free: 15.36 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.311345778405666]