Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 108 kB / 18.4 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 186.3 kB / 19.33 MB, free: 3.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.273/1.273, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 47.94 kB / 329.2 MB, free: 3.336 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08316/0.0845, allocations: 46.62 MB / 375.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002925/0.08749, allocations: 1.625 MB / 377.4 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009774/0.0885, allocations: 0.5189 MB / 377.9 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.185e-05/0.08862, allocations: 0 / 377.9 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.463e-05/0.08873, allocations: 7.922 kB / 377.9 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.711e-05/0.08883, allocations: 31.7 kB / 378 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.08912, allocations: 27.95 kB / 378 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.08929, allocations: 103.5 kB / 378.1 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.08945, allocations: 39.97 kB / 378.1 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.515e-05/0.08952, allocations: 35.91 kB / 378.2 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.047e-05/0.08962, allocations: 39.84 kB / 378.2 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.08964, allocations: 8 kB / 378.2 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.527e-05/0.08972, allocations: 12 kB / 378.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.102e-05/0.08975, allocations: 15.94 kB / 378.3 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.518e-05/0.08981, allocations: 47.8 kB / 378.3 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.08999, allocations: 99.67 kB / 378.4 MB, free: 1.988 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.09, allocations: 0 / 378.4 MB, free: 1.988 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.09001, allocations: 0 / 378.4 MB, free: 1.988 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.09002, allocations: 4 kB / 378.4 MB, free: 1.984 MB / 318.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.0004884/0.09051, allocations: 379.3 kB / 378.8 MB, free: 1.566 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.09056, allocations: 8.031 kB / 378.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.0907, allocations: 12.84 kB / 378.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.09084, allocations: 172.2 kB / 379 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.09086, allocations: 8.375 kB / 379 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.0909, allocations: 12.38 kB / 379 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.09109, allocations: 77.98 kB / 379.1 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.09112, allocations: 4 kB / 379.1 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.09114, allocations: 8 kB / 379.1 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/0.09115, allocations: 0 / 379.1 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.09128, allocations: 63.8 kB / 379.1 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000732/0.09202, allocations: 396.4 kB / 379.5 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.09216, allocations: 74.5 kB / 379.6 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.378e-05/0.09223, allocations: 36.84 kB / 379.6 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.09224, allocations: 0 / 379.6 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.09227, allocations: 34.56 kB / 379.7 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.09228, allocations: 0 / 379.7 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000218/0.0925, allocations: 89.7 kB / 379.7 MB, free: 480 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.09256, allocations: 55.41 kB / 379.8 MB, free: 412 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.884e-05/0.09266, allocations: 113.8 kB / 379.9 MB, free: 288 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.09269, allocations: 25.7 kB / 379.9 MB, free: 256 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.071e-05/0.09275, allocations: 103.9 kB / 380 MB, free: 148 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.09279, allocations: 31.55 kB / 380.1 MB, free: 116 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/0.09284, allocations: 25.66 kB / 380.1 MB, free: 84 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.1685/0.2614, allocations: 318.8 kB / 380.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.45e-05/0.2615, allocations: 19.38 kB / 380.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.576e-05/0.2616, allocations: 45.67 kB / 380.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.2617, allocations: 69.09 kB / 380.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.2617, allocations: 0 / 380.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001976/0.2619, allocations: 105.8 kB / 380.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.262, allocations: 8.156 kB / 380.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.262, allocations: 0.6562 kB / 380.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.262, allocations: 1.938 kB / 380.7 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.2622, allocations: 23.06 kB / 380.7 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.2622, allocations: 10 kB / 380.7 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.95e-05/0.2622, allocations: 13.94 kB / 380.7 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.2623, allocations: 3.469 kB / 380.7 MB, free: 12.7 MB / 318.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.507e-05/0.2623, allocations: 119.6 kB / 380.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.2624, allocations: 3.828 kB / 380.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.896e-05/0.2624, allocations: 11.69 kB / 380.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.2624, allocations: 2.219 kB / 380.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.2625, allocations: 8.969 kB / 380.8 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2625, allocations: 0.875 kB / 380.8 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.2626, allocations: 185.6 kB / 381 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2626, allocations: 0 / 381 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.2628, allocations: 23.14 kB / 381 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.2628, allocations: 0.8438 kB / 381 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.495e-06/0.2628, allocations: 1.375 kB / 381 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2628, allocations: 1.875 kB / 381.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2628, allocations: 3.938 kB / 381.1 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.263, allocations: 196.5 kB / 381.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.588e-05/0.263, allocations: 81.8 kB / 381.3 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.263, allocations: 9.562 kB / 381.3 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.116e-05/0.2631, allocations: 0.8125 kB / 381.3 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.2631, allocations: 11.22 kB / 381.3 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.2632, allocations: 2.781 kB / 381.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.86e-05/0.2632, allocations: 86.98 kB / 381.4 MB, free: 12.08 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2632, allocations: 0 / 381.4 MB, free: 12.08 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.2635, allocations: 25.84 kB / 381.5 MB, free: 12.08 MB / 318.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.177e-05/0.2636, allocations: 102.7 kB / 381.6 MB, free: 11.99 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.2637, allocations: 60.72 kB / 381.6 MB, free: 11.99 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2637, allocations: 0 / 381.6 MB, free: 11.99 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.142e-05/0.2637, allocations: 26.5 kB / 381.6 MB, free: 11.99 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.2641, allocations: 8.75 kB / 381.7 MB, free: 11.99 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006332/0.2647, allocations: 345.8 kB / 382 MB, free: 11.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.2649, allocations: 0.6947 MB / 382.7 MB, free: 11.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.2649, allocations: 12.94 kB / 382.7 MB, free: 11.06 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2649, allocations: 0 / 382.7 MB, free: 11.06 MB / 318.1 MB Notification: Performance of Templates: time 0.002747/0.2677, allocations: 0.9726 MB / 383.7 MB, free: 11.01 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches