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.001684/0.001684, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001751/0.001751, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.528/1.528, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.001611/0.001611, allocations: 47.94 kB / 378.2 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2283, allocations: 53.36 MB / 431.6 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002936/0.2313, allocations: 1.657 MB / 433.3 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009659/0.2322, allocations: 0.5532 MB / 433.8 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.457e-05/0.2323, allocations: 0 / 433.8 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.813e-05/0.2323, allocations: 19.86 kB / 433.8 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.747e-05/0.2324, allocations: 31.77 kB / 433.9 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.2326, allocations: 23.91 kB / 433.9 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.2328, allocations: 107.6 kB / 434 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.2329, allocations: 31.92 kB / 434 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.672e-05/0.233, allocations: 27.94 kB / 434.1 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.2331, allocations: 47.77 kB / 434.1 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.2331, allocations: 8 kB / 434.1 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.867e-05/0.2332, allocations: 12 kB / 434.1 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.48e-05/0.2332, allocations: 19.92 kB / 434.1 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.622e-05/0.2333, allocations: 43.86 kB / 434.2 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.2335, allocations: 100.9 kB / 434.3 MB, free: 4.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2335, allocations: 4 kB / 434.3 MB, free: 4.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2335, allocations: 3.938 kB / 434.3 MB, free: 4.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.2335, allocations: 0 / 434.3 MB, free: 4.246 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.0005034/0.234, allocations: 298.2 kB / 434.6 MB, free: 3.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.234, allocations: 8.031 kB / 434.6 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.2341, allocations: 16.88 kB / 434.6 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.2343, allocations: 118.4 kB / 434.7 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.2343, allocations: 8.375 kB / 434.7 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.2343, allocations: 8.375 kB / 434.7 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.2345, allocations: 89.97 kB / 434.8 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.2345, allocations: 0 / 434.8 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.2346, allocations: 4 kB / 434.8 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.2346, allocations: 4 kB / 434.8 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.2347, allocations: 51.97 kB / 434.9 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007179/0.2354, allocations: 367.6 kB / 435.2 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.2356, allocations: 70.48 kB / 435.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.873e-05/0.2356, allocations: 28.86 kB / 435.3 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.2356, allocations: 0 / 435.3 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.2357, allocations: 38.55 kB / 435.4 MB, free: 3.035 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.2357, allocations: 0 / 435.4 MB, free: 3.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002288/0.2359, allocations: 89.77 kB / 435.5 MB, free: 2.941 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.2359, allocations: 55.41 kB / 435.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.093e-05/0.236, allocations: 106 kB / 435.6 MB, free: 2.762 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.236, allocations: 25.7 kB / 435.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.956e-05/0.2361, allocations: 111.9 kB / 435.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.2362, allocations: 27.75 kB / 435.8 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.005e-05/0.2362, allocations: 29.7 kB / 435.8 MB, free: 2.555 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.2364, allocations: 318.8 kB / 436.1 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.552e-05/0.2364, allocations: 23.98 kB / 436.2 MB, free: 2.211 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.668e-05/0.2365, allocations: 46.56 kB / 436.2 MB, free: 2.156 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.2366, allocations: 66.52 kB / 436.3 MB, free: 2.082 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2366, allocations: 0 / 436.3 MB, free: 2.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001814/0.2368, allocations: 113.5 kB / 436.4 MB, free: 1.965 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.2368, allocations: 4 kB / 436.4 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2368, allocations: 8.25 kB / 436.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.2368, allocations: 7.938 kB / 436.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.237, allocations: 27.98 kB / 436.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.237, allocations: 3.984 kB / 436.4 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.657e-05/0.237, allocations: 3.938 kB / 436.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.237, allocations: 4 kB / 436.4 MB, free: 1.906 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.957e-05/0.2371, allocations: 117.8 kB / 436.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.2371, allocations: 11.89 kB / 436.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.2372, allocations: 12.38 kB / 436.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2372, allocations: 3.938 kB / 436.6 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2372, allocations: 4 kB / 436.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2372, allocations: 0 / 436.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.2374, allocations: 156.7 kB / 436.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2374, allocations: 3.938 kB / 436.7 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.2375, allocations: 19.98 kB / 436.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2375, allocations: 0 / 436.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.2375, allocations: 4 kB / 436.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.2375, allocations: 7.938 kB / 436.8 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2375, allocations: 0 / 436.8 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.2378, allocations: 195.4 kB / 437 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.231e-05/0.2378, allocations: 7.891 kB / 437 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.2378, allocations: 8.031 kB / 437 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.349e-05/0.2379, allocations: 3.938 kB / 437 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.2379, allocations: 3.984 kB / 437 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.2379, allocations: 4 kB / 437 MB, free: 1.281 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.949e-05/0.238, allocations: 83.28 kB / 437.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.238, allocations: 4.062 kB / 437.1 MB, free: 1.195 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00027/0.2382, allocations: 24 kB / 437.1 MB, free: 1.172 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.435e-05/0.2383, allocations: 91.25 kB / 437.2 MB, free: 1.074 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000155/0.2385, allocations: 55.91 kB / 437.2 MB, free: 1.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.2385, allocations: 3.938 kB / 437.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.548e-05/0.2385, allocations: 20 kB / 437.3 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.2388, allocations: 4 kB / 437.3 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006088/0.2394, allocations: 335 kB / 437.6 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.2398, allocations: 0.6924 MB / 438.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.363e-05/0.2398, allocations: 11.95 kB / 438.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.2398, allocations: 11.44 kB / 438.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2398, allocations: 0 / 438.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of Templates: time 0.003208/0.243, allocations: 0.6934 MB / 439 MB, free: 15.21 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 -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/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_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.391971762059256]