Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009032/0.0009032, allocations: 175.6 kB / 17.4 MB, free: 4.398 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.27/1.27, allocations: 223.3 MB / 241.4 MB, free: 11.67 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.0008677/0.0008676, allocations: 98.83 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004092/0.0004095, allocations: 11.94 kB / 352.3 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2206, allocations: 50.4 MB / 402.7 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08656/0.3073, allocations: 81.05 MB / 483.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.3075, allocations: 77.3 kB / 483.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0249/0.3324, allocations: 9.954 MB / 493.8 MB, free: 5.188 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3324, allocations: 0 / 493.8 MB, free: 5.188 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.308e-05/0.3325, allocations: 11.98 kB / 493.8 MB, free: 5.176 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00129/0.3338, allocations: 0.8078 MB / 494.6 MB, free: 4.305 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3338, allocations: 12.03 kB / 494.7 MB, free: 4.293 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.334, allocations: 72.12 kB / 494.7 MB, free: 4.223 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005665/0.3345, allocations: 406.5 kB / 495.1 MB, free: 3.785 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.923e-05/0.3347, allocations: 62.91 kB / 495.2 MB, free: 3.719 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.088e-05/0.3347, allocations: 36.36 kB / 495.2 MB, free: 3.684 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008103/0.3355, allocations: 497.5 kB / 495.7 MB, free: 3.145 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.3356, allocations: 3.938 kB / 495.7 MB, free: 3.141 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/0.3356, allocations: 15.98 kB / 495.7 MB, free: 3.125 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.3356, allocations: 8 kB / 495.7 MB, free: 3.117 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008224/0.3365, allocations: 374.4 kB / 496.1 MB, free: 2.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001992/0.3385, allocations: 1.276 MB / 497.4 MB, free: 1.395 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000768/0.3392, allocations: 457.1 kB / 497.8 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003897/0.3396, allocations: 204.6 kB / 498 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.3397, allocations: 8 kB / 498 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.3397, allocations: 38.56 kB / 498.1 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 1.683e-06/0.3397, allocations: 4 kB / 498.1 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001542/0.3413, allocations: 0.7718 MB / 498.8 MB, free: 15.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001528/0.3414, allocations: 452.9 kB / 499.3 MB, free: 15.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004782/0.3419, allocations: 446 kB / 499.7 MB, free: 14.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.342, allocations: 33.7 kB / 499.8 MB, free: 14.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.3421, allocations: 244.5 kB / 500 MB, free: 14.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.475e-05/0.3422, allocations: 134 kB / 0.4884 GB, free: 14.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.764e-05/0.3423, allocations: 4 kB / 0.4884 GB, free: 14.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3424, allocations: 362.7 kB / 0.4888 GB, free: 14.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/0.3428, allocations: 155.9 kB / 0.4889 GB, free: 13.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004539/0.3432, allocations: 294.3 kB / 0.4892 GB, free: 13.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007645/0.344, allocations: 375.7 kB / 0.4895 GB, free: 13.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.344, allocations: 0 / 0.4895 GB, free: 13.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009691/0.345, allocations: 0.5075 MB / 0.49 GB, free: 12.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/0.345, allocations: 40.53 kB / 0.4901 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.3451, allocations: 8 kB / 0.4901 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001393/0.3452, allocations: 45.7 kB / 0.4901 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.3456, allocations: 91.88 kB / 0.4902 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.3477, allocations: 2.74 MB / 0.4929 GB, free: 9.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003698/0.348, allocations: 67.55 kB / 0.493 GB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/0.3481, allocations: 15.98 kB / 0.493 GB, free: 9.387 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002046/0.3483, allocations: 173.7 kB / 0.4931 GB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.289e-05/0.3484, allocations: 55.38 kB / 0.4932 GB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.736e-05/0.3485, allocations: 52.77 kB / 0.4932 GB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3485, allocations: 7.984 kB / 0.4932 GB, free: 9.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.3485, allocations: 0 / 0.4932 GB, free: 9.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009166/0.3494, allocations: 0.7596 MB / 0.494 GB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.351, allocations: 1.056 MB / 0.495 GB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.351, allocations: 3.938 kB / 0.495 GB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004423/0.3515, allocations: 107.8 kB / 0.4951 GB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3515, allocations: 4 kB / 0.4951 GB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.3515, allocations: 4 kB / 0.4951 GB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3515, allocations: 4 kB / 0.4951 GB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3515, allocations: 80 / 0.4951 GB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.3528, allocations: 0.7093 MB / 0.4958 GB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.353, allocations: 160.5 kB / 0.496 GB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.353, allocations: 12 kB / 0.496 GB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/0.3534, allocations: 39.91 kB / 0.496 GB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.3534, allocations: 27.89 kB / 0.4961 GB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.3535, allocations: 8 kB / 0.4961 GB, free: 5.996 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003378/0.3538, allocations: 323.2 kB / 0.4964 GB, free: 5.688 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3538, allocations: 0 / 0.4964 GB, free: 5.688 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004201/0.3542, allocations: 147.8 kB / 0.4965 GB, free: 5.543 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (36): * Single equations (assignments): 36 * 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.0001593/0.3544, allocations: 115.8 kB / 0.4966 GB, free: 5.418 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.3555, allocations: 0.6768 MB / 0.4973 GB, free: 4.703 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3555, allocations: 0 / 0.4973 GB, free: 4.703 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004119/0.3559, allocations: 199.7 kB / 0.4975 GB, free: 4.508 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006841/0.3566, allocations: 137.7 kB / 0.4976 GB, free: 4.375 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.3582, allocations: 1.128 MB / 0.4987 GB, free: 3.223 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.3585, allocations: 0.8316 MB / 0.4995 GB, free: 2.363 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002503/0.3588, allocations: 60.34 kB / 0.4996 GB, free: 2.301 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.3589, allocations: 47.42 kB / 0.4996 GB, free: 2.254 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3589, allocations: 0 / 0.4996 GB, free: 2.254 MB / 378.7 MB Notification: Performance of Templates: time 0.1618/0.5207, allocations: 7.99 MB / 0.5074 GB, free: 97.36 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches