Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 77.97 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 164.9 kB / 24.82 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.053/1.053, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 273.4 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.753e-05, allocations: 5.266 kB / 273.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005885/0.005913, allocations: 3.646 MB / 277 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002702/0.008614, allocations: 0.9928 MB / 278 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004734/0.009088, allocations: 11.94 kB / 278 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004592/0.009547, allocations: 111 kB / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007183/0.01027, allocations: 210.2 kB / 278.3 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004692/0.01073, allocations: 139.7 kB / 278.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001151/0.01189, allocations: 0.7107 MB / 279.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003225/0.01221, allocations: 122.9 kB / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007411/0.01295, allocations: 395.1 kB / 279.7 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000455/0.0134, allocations: 223.4 kB / 279.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001777/0.01358, allocations: 56 kB / 280 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.01371, allocations: 56 kB / 280 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.01383, allocations: 131.5 kB / 280.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003366/0.01417, allocations: 219.5 kB / 280.4 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004484/0.01462, allocations: 450.3 kB / 280.8 MB, free: 9.859 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.01462, allocations: 0 / 280.8 MB, free: 9.859 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01462, allocations: 0 / 280.8 MB, free: 9.859 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.01463, allocations: 0 / 280.8 MB, free: 9.859 MB / 266.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.001129/0.01576, allocations: 0.9253 MB / 281.7 MB, free: 8.891 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.01581, allocations: 12.03 kB / 281.7 MB, free: 8.879 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.01596, allocations: 92.52 kB / 281.8 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/0.01643, allocations: 338.5 kB / 282.2 MB, free: 8.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.01654, allocations: 114.3 kB / 282.3 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.437e-05/0.0166, allocations: 44.36 kB / 282.3 MB, free: 8.258 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006388/0.01723, allocations: 0.7821 MB / 283.1 MB, free: 7.309 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.01725, allocations: 4.141 kB / 283.1 MB, free: 7.305 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.01729, allocations: 24.12 kB / 283.1 MB, free: 7.281 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.0173, allocations: 8 kB / 283.1 MB, free: 7.273 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.01749, allocations: 123.1 kB / 283.3 MB, free: 7.152 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.01872, allocations: 0.8893 MB / 284.1 MB, free: 6.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.01895, allocations: 161.1 kB / 284.3 MB, free: 6.062 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.256e-05/0.01903, allocations: 76.23 kB / 284.4 MB, free: 5.984 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.01907, allocations: 15.98 kB / 284.4 MB, free: 5.969 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.0191, allocations: 49.19 kB / 284.4 MB, free: 5.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.724e-06/0.0191, allocations: 4 kB / 284.4 MB, free: 5.906 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0005421/0.01964, allocations: 334.8 kB / 284.8 MB, free: 5.566 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/0.01978, allocations: 444.9 kB / 285.2 MB, free: 5.027 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003095/0.02009, allocations: 438.5 kB / 285.6 MB, free: 4.582 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.02012, allocations: 33.7 kB / 285.7 MB, free: 4.543 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.02028, allocations: 311.1 kB / 286 MB, free: 4.234 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.872e-05/0.02035, allocations: 122.9 kB / 286.1 MB, free: 4.113 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.485e-05/0.02044, allocations: 83.33 kB / 286.2 MB, free: 4.023 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.02059, allocations: 0.5429 MB / 286.7 MB, free: 3.469 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.985e-05/0.02068, allocations: 69.66 kB / 286.8 MB, free: 3.395 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004519/0.02113, allocations: 0.6153 MB / 287.4 MB, free: 2.605 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.02142, allocations: 170.8 kB / 287.6 MB, free: 2.426 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.02143, allocations: 4 kB / 287.6 MB, free: 2.422 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003602/0.02179, allocations: 345.4 kB / 287.9 MB, free: 2.059 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.02182, allocations: 33.69 kB / 287.9 MB, free: 2.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.02182, allocations: 0 / 287.9 MB, free: 2.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.853e-05/0.02192, allocations: 47.39 kB / 288 MB, free: 1.965 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.02213, allocations: 75.89 kB / 288.1 MB, free: 1.891 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.02415, allocations: 3.532 MB / 291.6 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.02436, allocations: 47.75 kB / 291.6 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.02438, allocations: 8 kB / 291.6 MB, free: 14.07 MB / 282.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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.0245, allocations: 176.5 kB / 291.8 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.627e-05/0.02457, allocations: 59.72 kB / 291.9 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.561e-05/0.02462, allocations: 60.56 kB / 291.9 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.02463, allocations: 4 kB / 291.9 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.02463, allocations: 3.938 kB / 291.9 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003274/0.02496, allocations: 0.5708 MB / 292.5 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007278/0.02569, allocations: 0.6846 MB / 293.2 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.02569, allocations: 0 / 293.2 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.0259, allocations: 79.95 kB / 293.3 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.0259, allocations: 0 / 293.3 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.02592, allocations: 19.88 kB / 293.3 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.02592, allocations: 0 / 293.3 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.02593, allocations: 0 / 293.3 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005973/0.02652, allocations: 437 kB / 293.7 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.02665, allocations: 99.48 kB / 293.8 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.02668, allocations: 15.94 kB / 293.8 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.02684, allocations: 15.98 kB / 293.8 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.02689, allocations: 27.94 kB / 293.9 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.02691, allocations: 8 kB / 293.9 MB, free: 11.65 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001651/0.02707, allocations: 287 kB / 294.2 MB, free: 11.37 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02707, allocations: 0 / 294.2 MB, free: 11.37 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003478/0.02742, allocations: 139.8 kB / 294.3 MB, free: 11.23 MB / 282.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 (35): * Single equations (assignments): 35 * 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 0.0001265/0.02755, allocations: 107.2 kB / 294.4 MB, free: 11.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005189/0.02807, allocations: 0.606 MB / 295 MB, free: 10.46 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.02807, allocations: 8 kB / 295 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.02818, allocations: 91.62 kB / 295.1 MB, free: 10.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.0286, allocations: 145.5 kB / 295.2 MB, free: 10.21 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.02996, allocations: 0.8434 MB / 296.1 MB, free: 9.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.061e-05/0.03004, allocations: 113.7 kB / 296.2 MB, free: 9.207 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001822/0.03022, allocations: 56.25 kB / 296.3 MB, free: 9.148 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003606/0.03058, allocations: 274 kB / 296.5 MB, free: 8.879 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.03059, allocations: 4 kB / 296.5 MB, free: 8.875 MB / 282.7 MB Notification: Performance of Templates: time 0.1074/0.138, allocations: 9.987 MB / 306.5 MB, free: 39.53 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.879785178694874]