Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001353/0.001358, allocations: 180.8 kB / 17.41 MB, free: 4.27 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.477/1.477, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0007635/0.0007635, allocations: 101 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.000338, allocations: 12 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2605, allocations: 47.58 MB / 375.7 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09597/0.3566, allocations: 75.7 MB / 451.4 MB, free: 4.938 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/0.357, allocations: 71.97 kB / 451.5 MB, free: 4.867 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005179/0.3622, allocations: 1.783 MB / 453.3 MB, free: 3.082 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3622, allocations: 3.938 kB / 453.3 MB, free: 3.078 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.3622, allocations: 4 kB / 453.3 MB, free: 3.074 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.0005468/0.3628, allocations: 371.3 kB / 453.6 MB, free: 2.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.408e-05/0.3629, allocations: 8.031 kB / 453.6 MB, free: 2.652 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.363, allocations: 16.84 kB / 453.7 MB, free: 2.637 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.3632, allocations: 172.3 kB / 453.8 MB, free: 2.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.3632, allocations: 4.375 kB / 453.8 MB, free: 2.426 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/0.3633, allocations: 12.36 kB / 453.8 MB, free: 2.414 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.3635, allocations: 78.23 kB / 453.9 MB, free: 2.332 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.3635, allocations: 4.188 kB / 453.9 MB, free: 2.328 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.3635, allocations: 7.938 kB / 453.9 MB, free: 2.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.3636, allocations: 0 / 453.9 MB, free: 2.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.3637, allocations: 54.72 kB / 454 MB, free: 2.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007891/0.3645, allocations: 416.2 kB / 454.4 MB, free: 1.812 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.3647, allocations: 74.5 kB / 454.5 MB, free: 1.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.381e-05/0.3648, allocations: 32.84 kB / 454.5 MB, free: 1.695 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.3648, allocations: 0 / 454.5 MB, free: 1.695 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.3648, allocations: 30.56 kB / 454.5 MB, free: 1.656 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.3648, allocations: 0 / 454.5 MB, free: 1.656 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002601/0.3651, allocations: 89.67 kB / 454.6 MB, free: 1.562 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.3651, allocations: 55.34 kB / 454.7 MB, free: 1.496 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.975e-05/0.3653, allocations: 109.8 kB / 454.8 MB, free: 1.379 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.3653, allocations: 25.7 kB / 454.8 MB, free: 1.348 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.769e-05/0.3654, allocations: 104.4 kB / 454.9 MB, free: 1.242 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.3654, allocations: 31.7 kB / 454.9 MB, free: 1.211 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-06/0.3654, allocations: 0 / 454.9 MB, free: 1.211 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3656, allocations: 322.8 kB / 455.3 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.52e-05/0.3656, allocations: 23.98 kB / 455.3 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.447e-05/0.3657, allocations: 46.56 kB / 455.3 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.3658, allocations: 62.52 kB / 455.4 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3658, allocations: 4 kB / 455.4 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001647/0.366, allocations: 101.5 kB / 455.5 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.366, allocations: 8 kB / 455.5 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.366, allocations: 3.938 kB / 455.5 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.3661, allocations: 4.062 kB / 455.5 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.3662, allocations: 23.98 kB / 455.5 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.649e-06/0.3662, allocations: 3.938 kB / 455.5 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.636e-05/0.3663, allocations: 8.188 kB / 455.5 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.3663, allocations: 11.98 kB / 455.5 MB, free: 0.5664 MB / 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 0.000114/0.3664, allocations: 113.8 kB / 455.7 MB, free: 456 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.3665, allocations: 15.84 kB / 455.7 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/0.3665, allocations: 8.375 kB / 455.7 MB, free: 432 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3665, allocations: 7.938 kB / 455.7 MB, free: 424 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.3665, allocations: 7.938 kB / 455.7 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3666, allocations: 0 / 455.7 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.3668, allocations: 185.6 kB / 455.9 MB, free: 180 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3668, allocations: 3.938 kB / 455.9 MB, free: 176 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.3669, allocations: 19.98 kB / 455.9 MB, free: 156 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3669, allocations: 0 / 455.9 MB, free: 156 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.367, allocations: 0 / 455.9 MB, free: 156 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.367, allocations: 0 / 455.9 MB, free: 156 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.367, allocations: 7.938 kB / 455.9 MB, free: 148 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.3673, allocations: 201.6 kB / 456.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.3673, allocations: 85.05 kB / 456.2 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.3673, allocations: 0 / 456.2 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.93e-05/0.3674, allocations: 4 kB / 456.2 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/0.3674, allocations: 3.938 kB / 456.2 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.3675, allocations: 7.984 kB / 456.2 MB, free: 15.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.595e-05/0.3675, allocations: 83.28 kB / 456.3 MB, free: 15.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3675, allocations: 0 / 456.3 MB, free: 15.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.3677, allocations: 32 kB / 456.3 MB, free: 15.7 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.0001431/0.3679, allocations: 91.25 kB / 456.4 MB, free: 15.6 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001376/0.368, allocations: 60.02 kB / 456.5 MB, free: 15.54 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3681, allocations: 0 / 456.5 MB, free: 15.54 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.188e-05/0.3681, allocations: 20 kB / 456.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.3684, allocations: 8.219 kB / 456.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006456/0.3691, allocations: 422.7 kB / 456.9 MB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.3693, allocations: 0.7012 MB / 457.6 MB, free: 14.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.3694, allocations: 11.44 kB / 457.6 MB, free: 14.33 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3694, allocations: 0 / 457.6 MB, free: 14.33 MB / 346.7 MB Notification: Performance of Templates: time 0.00209/0.3715, allocations: 0.9498 MB / 458.6 MB, free: 13.38 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches