Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009092/0.0009092, allocations: 176.3 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 223.3 MB / 241.4 MB, free: 11.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007567/0.0007566, allocations: 108.7 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002989, allocations: 8 kB / 352.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2014, allocations: 50.4 MB / 402.7 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08665/0.2881, allocations: 76.52 MB / 479.3 MB, free: 3.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/0.2884, allocations: 71.95 kB / 479.3 MB, free: 3.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00475/0.2931, allocations: 1.78 MB / 481.1 MB, free: 1.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2932, allocations: 0 / 481.1 MB, free: 1.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.2932, allocations: 0 / 481.1 MB, free: 1.98 MB / 346.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.0003801/0.2936, allocations: 371.4 kB / 481.5 MB, free: 1.566 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.2936, allocations: 8.031 kB / 481.5 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.2937, allocations: 12.84 kB / 481.5 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.2939, allocations: 168.3 kB / 481.7 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.2939, allocations: 12.33 kB / 481.7 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.2939, allocations: 12.38 kB / 481.7 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.2941, allocations: 82.22 kB / 481.8 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.2941, allocations: 192 / 481.8 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.2941, allocations: 7.938 kB / 481.8 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.2941, allocations: 4 kB / 481.8 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.2943, allocations: 51.97 kB / 481.8 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006711/0.2949, allocations: 404.3 kB / 482.2 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.2951, allocations: 74.47 kB / 482.3 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.526e-05/0.2951, allocations: 36.84 kB / 482.3 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.2952, allocations: 4 kB / 482.3 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.2952, allocations: 30.56 kB / 482.4 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.2952, allocations: 4 kB / 482.4 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001991/0.2954, allocations: 77.69 kB / 482.4 MB, free: 488 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.2954, allocations: 59.34 kB / 482.5 MB, free: 416 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.986e-05/0.2955, allocations: 105.8 kB / 482.6 MB, free: 300 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.2956, allocations: 33.64 kB / 482.6 MB, free: 260 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/0.2956, allocations: 99.88 kB / 482.7 MB, free: 156 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.2957, allocations: 27.5 kB / 482.8 MB, free: 128 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.2957, allocations: 8 kB / 482.8 MB, free: 120 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2958, allocations: 318.8 kB / 483.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.385e-05/0.2959, allocations: 20 kB / 483.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.305e-05/0.296, allocations: 50.56 kB / 483.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.487e-05/0.2961, allocations: 62.72 kB / 483.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2961, allocations: 0 / 483.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001584/0.2962, allocations: 109.5 kB / 483.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.2963, allocations: 4 kB / 483.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2963, allocations: 3.938 kB / 483.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2963, allocations: 4.25 kB / 483.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.2964, allocations: 23.98 kB / 483.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.2965, allocations: 7.938 kB / 483.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.215e-05/0.2965, allocations: 15.88 kB / 483.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.2965, allocations: 4 kB / 483.4 MB, free: 15.47 MB / 362.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 8.607e-05/0.2966, allocations: 129.8 kB / 483.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.2967, allocations: 7.891 kB / 483.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.368e-05/0.2967, allocations: 12.38 kB / 483.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2967, allocations: 0 / 483.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.2967, allocations: 3.938 kB / 483.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2967, allocations: 0 / 483.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.2969, allocations: 185.6 kB / 483.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2969, allocations: 4 kB / 483.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.731e-05/0.297, allocations: 12 kB / 483.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2971, allocations: 7.984 kB / 483.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.2971, allocations: 4 kB / 483.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2971, allocations: 0 / 483.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.2971, allocations: 4.25 kB / 483.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.2973, allocations: 195.4 kB / 483.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-05/0.2973, allocations: 85 kB / 484 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.2974, allocations: 4.031 kB / 484 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.297e-05/0.2974, allocations: 7.938 kB / 484 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.935e-05/0.2975, allocations: 8 kB / 484 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.2975, allocations: 4 kB / 484 MB, free: 14.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.801e-05/0.2975, allocations: 83.27 kB / 484.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2975, allocations: 0 / 484.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002304/0.2978, allocations: 24 kB / 484.1 MB, free: 14.61 MB / 362.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.0001076/0.2979, allocations: 95.25 kB / 484.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.298, allocations: 63.91 kB / 484.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.298, allocations: 0 / 484.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.224e-05/0.298, allocations: 24.11 kB / 484.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.2983, allocations: 11.94 kB / 484.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005885/0.2989, allocations: 392.7 kB / 484.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.2992, allocations: 0.6887 MB / 485.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.639e-05/0.2992, allocations: 7.984 kB / 485.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.94e-05/0.2992, allocations: 11.44 kB / 485.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2993, allocations: 0 / 485.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of Templates: time 0.002438/0.3017, allocations: 0.579 MB / 486 MB, free: 12.69 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches