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.001601/0.001601, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001545/0.001545, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.494/1.494, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.001994/0.001994, allocations: 63.84 kB / 378.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2555, allocations: 53.32 MB / 432 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.00303/0.2585, allocations: 1.66 MB / 433.7 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009628/0.2595, allocations: 0.5494 MB / 434.2 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.292e-05/0.2595, allocations: 3.938 kB / 434.2 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.862e-05/0.2596, allocations: 11.92 kB / 434.2 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.177e-05/0.2597, allocations: 27.7 kB / 434.3 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.2599, allocations: 31.95 kB / 434.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.2601, allocations: 107.5 kB / 434.4 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.2602, allocations: 27.98 kB / 434.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.437e-05/0.2603, allocations: 31.92 kB / 434.5 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.2604, allocations: 43.84 kB / 434.5 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.2604, allocations: 8 kB / 434.5 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.354e-05/0.2605, allocations: 11.98 kB / 434.5 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.2605, allocations: 15.94 kB / 434.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.553e-05/0.2606, allocations: 43.86 kB / 434.6 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.2608, allocations: 105.5 kB / 434.7 MB, free: 4.727 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2608, allocations: 0 / 434.7 MB, free: 4.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2608, allocations: 0 / 434.7 MB, free: 4.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.2608, allocations: 0 / 434.7 MB, free: 4.727 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.0005711/0.2614, allocations: 383.2 kB / 435.1 MB, free: 4.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.2614, allocations: 15.97 kB / 435.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.2616, allocations: 8.891 kB / 435.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.2617, allocations: 176.2 kB / 435.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.2618, allocations: 8.375 kB / 435.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.205e-05/0.2618, allocations: 12.34 kB / 435.3 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.262, allocations: 85.98 kB / 435.4 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.262, allocations: 4 kB / 435.4 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.262, allocations: 4 kB / 435.4 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.262, allocations: 4 kB / 435.4 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.2621, allocations: 47.97 kB / 435.4 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007097/0.2629, allocations: 404.5 kB / 435.8 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.263, allocations: 70.5 kB / 435.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.2631, allocations: 32.84 kB / 435.9 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.2631, allocations: 0 / 435.9 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.2631, allocations: 34.56 kB / 436 MB, free: 3.301 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.2631, allocations: 0 / 436 MB, free: 3.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002392/0.2634, allocations: 89.77 kB / 436 MB, free: 3.207 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.2634, allocations: 55.34 kB / 436.1 MB, free: 3.141 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.2635, allocations: 110 kB / 436.2 MB, free: 3.023 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.2635, allocations: 33.7 kB / 436.2 MB, free: 2.984 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.783e-05/0.2636, allocations: 103.9 kB / 436.3 MB, free: 2.879 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.2636, allocations: 27.75 kB / 436.4 MB, free: 2.852 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.2637, allocations: 29.7 kB / 436.4 MB, free: 2.816 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.2638, allocations: 314.8 kB / 436.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.71e-05/0.2639, allocations: 23.98 kB / 436.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.269e-05/0.2639, allocations: 42.56 kB / 436.8 MB, free: 2.426 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.264, allocations: 74.45 kB / 436.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.264, allocations: 0 / 436.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001593/0.2642, allocations: 105.6 kB / 436.9 MB, free: 2.234 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.2642, allocations: 4 kB / 436.9 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2642, allocations: 4 kB / 437 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.2642, allocations: 3.938 kB / 437 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.2644, allocations: 28.05 kB / 437 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2644, allocations: 0 / 437 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.507e-05/0.2644, allocations: 11.94 kB / 437 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.2644, allocations: 4 kB / 437 MB, free: 2.18 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.949e-05/0.2645, allocations: 121.8 kB / 437.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.2645, allocations: 3.953 kB / 437.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.113e-05/0.2646, allocations: 16.31 kB / 437.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2646, allocations: 3.938 kB / 437.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2646, allocations: 0 / 437.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2646, allocations: 4 kB / 437.1 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.2648, allocations: 189.6 kB / 437.3 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2648, allocations: 0 / 437.3 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.2649, allocations: 19.98 kB / 437.4 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.2649, allocations: 4 kB / 437.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.2649, allocations: 0 / 437.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.2649, allocations: 3.938 kB / 437.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2649, allocations: 0 / 437.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.2651, allocations: 199.4 kB / 437.6 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.2652, allocations: 81.06 kB / 437.6 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.2652, allocations: 4.031 kB / 437.6 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.926e-05/0.2653, allocations: 7.938 kB / 437.6 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.2653, allocations: 7.984 kB / 437.7 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.2653, allocations: 0 / 437.7 MB, free: 1.434 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.854e-05/0.2653, allocations: 87.53 kB / 437.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2653, allocations: 0 / 437.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.2656, allocations: 23.94 kB / 437.8 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 0.0001067/0.2657, allocations: 107.3 kB / 437.9 MB, free: 1.211 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.2658, allocations: 55.91 kB / 437.9 MB, free: 1.156 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2658, allocations: 0 / 437.9 MB, free: 1.156 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.3e-05/0.2659, allocations: 19.94 kB / 437.9 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.0002903/0.2662, allocations: 11.27 kB / 438 MB, free: 1.129 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006482/0.2668, allocations: 326.3 kB / 438.3 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.2672, allocations: 0.6924 MB / 439 MB, free: 64 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.019e-05/0.2672, allocations: 3.953 kB / 439 MB, free: 60 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.2672, allocations: 11.44 kB / 439 MB, free: 48 kB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2672, allocations: 3.938 kB / 439 MB, free: 44 kB / 334.1 MB Notification: Performance of Templates: time 0.003362/0.2706, allocations: 0.6752 MB / 439.7 MB, free: 15.38 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 -s cvode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 4.322763896081597]