Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.008994/0.008994, allocations: 107.1 kB / 21.98 MB, free: 5.223 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.002384/0.002384, allocations: 212.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.573/1.573, allocations: 230.6 MB / 259 MB, free: 8.281 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 64.78 kB / 379.8 MB, free: 2.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.248, allocations: 53.37 MB / 433.2 MB, free: 7.012 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003/0.251, allocations: 1.648 MB / 434.8 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009809/0.252, allocations: 0.5649 MB / 435.4 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.226e-05/0.252, allocations: 0 / 435.4 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.788e-05/0.2521, allocations: 15.86 kB / 435.4 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.957e-05/0.2522, allocations: 27.77 kB / 435.4 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.2524, allocations: 31.91 kB / 435.4 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.2525, allocations: 107.5 kB / 435.5 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.2527, allocations: 19.98 kB / 435.6 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.224e-05/0.2527, allocations: 39.88 kB / 435.6 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.2528, allocations: 43.83 kB / 435.6 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.2529, allocations: 8 kB / 435.7 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.117e-05/0.2529, allocations: 12 kB / 435.7 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.2529, allocations: 15.92 kB / 435.7 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.093e-05/0.253, allocations: 43.86 kB / 435.7 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.2532, allocations: 100.9 kB / 435.8 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2532, allocations: 0 / 435.8 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2532, allocations: 4 kB / 435.8 MB, free: 4.332 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.2532, allocations: 3.938 kB / 435.8 MB, free: 4.328 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.0004908/0.2537, allocations: 306.1 kB / 436.1 MB, free: 4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.2537, allocations: 8.031 kB / 436.1 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.2538, allocations: 12.89 kB / 436.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.254, allocations: 118.4 kB / 436.3 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.254, allocations: 8.375 kB / 436.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.254, allocations: 4.375 kB / 436.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.2542, allocations: 93.97 kB / 436.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.2542, allocations: 0 / 436.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.2542, allocations: 4 kB / 436.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.2542, allocations: 0 / 436.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.2543, allocations: 51.97 kB / 436.4 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007083/0.255, allocations: 367.5 kB / 436.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.2552, allocations: 78.48 kB / 436.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.269e-05/0.2552, allocations: 28.84 kB / 436.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.2553, allocations: 4 kB / 436.9 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.2553, allocations: 34.56 kB / 436.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.2553, allocations: 0 / 436.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002281/0.2555, allocations: 89.77 kB / 437 MB, free: 3.016 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.2556, allocations: 55.41 kB / 437.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.2557, allocations: 110 kB / 437.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.2557, allocations: 25.7 kB / 437.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.177e-05/0.2558, allocations: 111.9 kB / 437.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.2558, allocations: 27.75 kB / 437.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/0.2558, allocations: 29.7 kB / 437.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.256, allocations: 318.8 kB / 437.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.446e-05/0.256, allocations: 19.98 kB / 437.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.61e-05/0.2561, allocations: 50.56 kB / 437.7 MB, free: 2.227 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.2562, allocations: 66.52 kB / 437.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2562, allocations: 3.938 kB / 437.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001641/0.2564, allocations: 105.5 kB / 437.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.2564, allocations: 8 kB / 437.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2564, allocations: 64 / 437.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.2564, allocations: 7.938 kB / 437.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.2565, allocations: 27.98 kB / 438 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.2566, allocations: 4 kB / 438 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.246e-05/0.2566, allocations: 3.938 kB / 438 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.2566, allocations: 4 kB / 438 MB, free: 1.984 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.0001052/0.2567, allocations: 122.4 kB / 438.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.2567, allocations: 7.953 kB / 438.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.2568, allocations: 8.375 kB / 438.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2568, allocations: 7.938 kB / 438.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2568, allocations: 0 / 438.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2568, allocations: 0 / 438.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.257, allocations: 160.7 kB / 438.3 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.257, allocations: 0 / 438.3 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.2571, allocations: 23.92 kB / 438.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2571, allocations: 0 / 438.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.2571, allocations: 4 kB / 438.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.2571, allocations: 3.938 kB / 438.3 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.2571, allocations: 4 kB / 438.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.2573, allocations: 195.5 kB / 438.5 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.277e-05/0.2573, allocations: 7.891 kB / 438.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.2574, allocations: 0 / 438.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.258e-05/0.2574, allocations: 11.94 kB / 438.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.2574, allocations: 4.234 kB / 438.5 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.2574, allocations: 4 kB / 438.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.148e-05/0.2575, allocations: 87.28 kB / 438.6 MB, free: 1.273 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2575, allocations: 0 / 438.6 MB, free: 1.273 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000233/0.2577, allocations: 20.06 kB / 438.6 MB, free: 1.254 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.0001092/0.2578, allocations: 103.2 kB / 438.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001482/0.258, allocations: 51.92 kB / 438.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.258, allocations: 0 / 438.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.426e-05/0.258, allocations: 19.94 kB / 438.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.2583, allocations: 15.92 kB / 438.8 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006743/0.259, allocations: 352.8 kB / 439.2 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.2594, allocations: 0.6924 MB / 439.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.2594, allocations: 11.44 kB / 439.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2594, allocations: 0 / 439.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of Templates: time 0.002509/0.2619, allocations: 0.9693 MB / 440.8 MB, free: 14.98 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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: 7.04958240990527]