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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009237/0.0009236, allocations: 183.8 kB / 18.04 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.4 MB / 224.2 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007572/0.0007572, allocations: 89.5 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.0003293, allocations: 8 kB / 329.4 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2855, allocations: 47.58 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08941/0.375, allocations: 75.7 MB / 452.7 MB, free: 4.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.3753, allocations: 71.97 kB / 452.8 MB, free: 4.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004852/0.3802, allocations: 1.78 MB / 454.6 MB, free: 2.988 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3802, allocations: 3.938 kB / 454.6 MB, free: 2.984 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3802, allocations: 0 / 454.6 MB, free: 2.984 MB / 330.7 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.000376/0.3806, allocations: 363.4 kB / 454.9 MB, free: 2.578 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3807, allocations: 16.02 kB / 454.9 MB, free: 2.562 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.898e-05/0.3808, allocations: 8.844 kB / 454.9 MB, free: 2.555 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.3809, allocations: 172.3 kB / 455.1 MB, free: 2.348 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.3809, allocations: 12.31 kB / 455.1 MB, free: 2.336 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.3809, allocations: 8.375 kB / 455.1 MB, free: 2.328 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.3811, allocations: 85.97 kB / 455.2 MB, free: 2.242 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3811, allocations: 4.188 kB / 455.2 MB, free: 2.238 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.3811, allocations: 7.938 kB / 455.2 MB, free: 2.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3812, allocations: 7.938 kB / 455.2 MB, free: 2.223 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.3813, allocations: 55.06 kB / 455.3 MB, free: 2.172 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006599/0.3819, allocations: 400.3 kB / 455.7 MB, free: 1.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.3821, allocations: 78.53 kB / 455.8 MB, free: 1.645 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.812e-05/0.3821, allocations: 40.8 kB / 455.8 MB, free: 1.602 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.3822, allocations: 0 / 455.8 MB, free: 1.602 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.3822, allocations: 30.56 kB / 455.8 MB, free: 1.562 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.3822, allocations: 4 kB / 455.8 MB, free: 1.559 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002074/0.3824, allocations: 81.67 kB / 455.9 MB, free: 1.473 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.3825, allocations: 59.5 kB / 456 MB, free: 1.402 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.223e-05/0.3825, allocations: 109.8 kB / 456.1 MB, free: 1.285 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.3826, allocations: 25.7 kB / 456.1 MB, free: 1.254 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.509e-05/0.3826, allocations: 104.4 kB / 456.2 MB, free: 1.148 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.3827, allocations: 31.55 kB / 456.2 MB, free: 1.117 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/0.3827, allocations: 0 / 456.2 MB, free: 1.117 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3828, allocations: 322.8 kB / 456.6 MB, free: 0.793 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.253e-05/0.3828, allocations: 23.94 kB / 456.6 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.581e-05/0.3829, allocations: 45.08 kB / 456.6 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.396e-05/0.383, allocations: 70.5 kB / 456.7 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.383, allocations: 0 / 456.7 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001605/0.3832, allocations: 97.53 kB / 456.8 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3832, allocations: 8 kB / 456.8 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.3832, allocations: 0 / 456.8 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3832, allocations: 4.062 kB / 456.8 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.3834, allocations: 31.92 kB / 456.8 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.3834, allocations: 7.938 kB / 456.8 MB, free: 500 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.523e-05/0.3835, allocations: 7.938 kB / 456.8 MB, free: 492 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.3835, allocations: 0 / 456.8 MB, free: 492 kB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.215e-05/0.3836, allocations: 117.8 kB / 457 MB, free: 364 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.3836, allocations: 7.906 kB / 457 MB, free: 356 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.3836, allocations: 12.36 kB / 457 MB, free: 348 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3837, allocations: 11.94 kB / 457 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3837, allocations: 3.938 kB / 457 MB, free: 332 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3837, allocations: 3.938 kB / 457 MB, free: 328 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.3839, allocations: 181.6 kB / 457.2 MB, free: 96 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3839, allocations: 0 / 457.2 MB, free: 96 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.741e-05/0.384, allocations: 16 kB / 457.2 MB, free: 80 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.384, allocations: 0 / 457.2 MB, free: 80 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.384, allocations: 8 kB / 457.2 MB, free: 72 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.384, allocations: 0 / 457.2 MB, free: 72 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.384, allocations: 3.938 kB / 457.2 MB, free: 68 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.3842, allocations: 203.3 kB / 457.4 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.68e-05/0.3843, allocations: 84.95 kB / 457.5 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.3843, allocations: 7.984 kB / 457.5 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.997e-05/0.3844, allocations: 4.031 kB / 457.5 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.3844, allocations: 3.938 kB / 457.5 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.3844, allocations: 4.25 kB / 457.5 MB, free: 15.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.967e-05/0.3845, allocations: 91.27 kB / 457.6 MB, free: 15.64 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3845, allocations: 4.062 kB / 457.6 MB, free: 15.64 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002535/0.3847, allocations: 23.94 kB / 457.6 MB, free: 15.61 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001035/0.3849, allocations: 95.25 kB / 457.7 MB, free: 15.51 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.385, allocations: 55.92 kB / 457.8 MB, free: 15.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.385, allocations: 0 / 457.8 MB, free: 15.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.8e-05/0.385, allocations: 27.98 kB / 457.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.3853, allocations: 1.172 kB / 457.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006326/0.386, allocations: 393 kB / 458.2 MB, free: 15.01 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.3863, allocations: 0.6974 MB / 458.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.414e-05/0.3863, allocations: 7.938 kB / 458.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.696e-05/0.3864, allocations: 11.44 kB / 458.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of SimCode: time 2e-07/0.3864, allocations: 0 / 458.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of Templates: time 0.002535/0.3889, allocations: 0.5802 MB / 459.5 MB, free: 13.7 MB / 346.7 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","../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches