Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009559/0.0009559, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.0008875/0.0008875, allocations: 171.6 kB / 25.33 MB, free: 8.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8933/0.8933, allocations: 158.6 MB / 187.2 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] 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 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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 251 MB, free: 7.527 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.895e-05, allocations: 2.312 kB / 251 MB, free: 7.523 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003736/0.003765, allocations: 3.679 MB / 254.7 MB, free: 3.816 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.005457, allocations: 1.005 MB / 255.7 MB, free: 2.801 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.005696, allocations: 11.94 kB / 255.7 MB, free: 2.789 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.005993, allocations: 107.1 kB / 255.8 MB, free: 2.684 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003701/0.006363, allocations: 218.1 kB / 256 MB, free: 2.469 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.006619, allocations: 135.7 kB / 256.2 MB, free: 2.336 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006815/0.007301, allocations: 0.7113 MB / 256.9 MB, free: 1.625 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.007505, allocations: 122.9 kB / 257 MB, free: 1.496 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000399/0.007904, allocations: 391.1 kB / 257.4 MB, free: 1.113 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.008135, allocations: 223.4 kB / 257.6 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.197e-05/0.008207, allocations: 56 kB / 257.7 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.026e-05/0.008278, allocations: 64 kB / 257.7 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.467e-05/0.008352, allocations: 123.5 kB / 257.9 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.008518, allocations: 223.5 kB / 258.1 MB, free: 448 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004318/0.00895, allocations: 458.4 kB / 258.5 MB, free: 15.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.008954, allocations: 4 kB / 258.5 MB, free: 15.98 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.008955, allocations: 0 / 258.5 MB, free: 15.98 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.008963, allocations: 0 / 258.5 MB, free: 15.98 MB / 250.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.001033/0.009996, allocations: 0.9253 MB / 259.4 MB, free: 15.01 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.01004, allocations: 15.98 kB / 259.5 MB, free: 15 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.01018, allocations: 88.56 kB / 259.5 MB, free: 14.91 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004588/0.01064, allocations: 363 kB / 259.9 MB, free: 14.53 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-05/0.01072, allocations: 114.3 kB / 260 MB, free: 14.4 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.218e-05/0.01077, allocations: 36.38 kB / 260.1 MB, free: 14.37 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006036/0.01138, allocations: 0.8017 MB / 260.9 MB, free: 13.39 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.01139, allocations: 4.188 kB / 260.9 MB, free: 13.39 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.01142, allocations: 20.12 kB / 260.9 MB, free: 13.37 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.01143, allocations: 8 kB / 260.9 MB, free: 13.36 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002763/0.01171, allocations: 151.8 kB / 261 MB, free: 13.22 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.01303, allocations: 0.959 MB / 262 MB, free: 12.22 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.01333, allocations: 179 kB / 262.2 MB, free: 12.03 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.01345, allocations: 88.23 kB / 262.3 MB, free: 11.94 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.777e-05/0.01349, allocations: 19.78 kB / 262.3 MB, free: 11.92 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.01352, allocations: 45.39 kB / 262.3 MB, free: 11.87 MB / 250.7 MB Notification: Performance of pre-optimization done (n=35): time 1.653e-06/0.01352, allocations: 0 / 262.3 MB, free: 11.87 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006665/0.01419, allocations: 372.3 kB / 262.7 MB, free: 11.49 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.01431, allocations: 444.9 kB / 263.1 MB, free: 10.95 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/0.01466, allocations: 458.6 kB / 263.6 MB, free: 10.49 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.01469, allocations: 37.7 kB / 263.6 MB, free: 10.45 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.01485, allocations: 295.3 kB / 263.9 MB, free: 10.15 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.881e-05/0.01492, allocations: 126.8 kB / 264 MB, free: 10.02 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.309e-05/0.01501, allocations: 83.31 kB / 264.1 MB, free: 9.934 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.01518, allocations: 0.5313 MB / 264.6 MB, free: 9.391 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.01531, allocations: 85.67 kB / 264.7 MB, free: 9.301 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003564/0.01567, allocations: 0.6424 MB / 265.3 MB, free: 8.484 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.01593, allocations: 194.8 kB / 265.5 MB, free: 8.281 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01593, allocations: 0 / 265.5 MB, free: 8.281 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004372/0.01637, allocations: 373.5 kB / 265.9 MB, free: 7.891 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.0164, allocations: 33.69 kB / 265.9 MB, free: 7.852 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.0164, allocations: 0 / 265.9 MB, free: 7.852 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001406/0.01655, allocations: 43.36 kB / 266 MB, free: 7.801 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.01675, allocations: 83.92 kB / 266.1 MB, free: 7.719 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.0187, allocations: 3.574 MB / 269.6 MB, free: 3.898 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.01892, allocations: 39.77 kB / 269.7 MB, free: 3.859 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.01894, allocations: 12 kB / 269.7 MB, free: 3.848 MB / 250.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.0001771/0.01912, allocations: 184.5 kB / 269.9 MB, free: 3.656 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.476e-05/0.01919, allocations: 63.66 kB / 269.9 MB, free: 3.594 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.181e-05/0.01926, allocations: 48.58 kB / 270 MB, free: 3.543 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.01926, allocations: 0 / 270 MB, free: 3.543 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01926, allocations: 4 kB / 270 MB, free: 3.539 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004049/0.01967, allocations: 0.5917 MB / 270.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008567/0.02052, allocations: 0.7817 MB / 271.4 MB, free: 2.016 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.02053, allocations: 0 / 271.4 MB, free: 2.016 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.02075, allocations: 79.95 kB / 271.4 MB, free: 1.938 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.02075, allocations: 7.938 kB / 271.4 MB, free: 1.93 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.02077, allocations: 7.984 kB / 271.4 MB, free: 1.922 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.02077, allocations: 4 kB / 271.5 MB, free: 1.918 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.02077, allocations: 4 kB / 271.5 MB, free: 1.914 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004839/0.02126, allocations: 464.7 kB / 271.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.02138, allocations: 87.55 kB / 272 MB, free: 1.355 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.02142, allocations: 8 kB / 272 MB, free: 1.348 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.02158, allocations: 31.91 kB / 272 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.02165, allocations: 23.95 kB / 272.1 MB, free: 1.293 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.02166, allocations: 8 kB / 272.1 MB, free: 1.285 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002292/0.02189, allocations: 303 kB / 272.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02189, allocations: 4 kB / 272.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003386/0.02223, allocations: 139.9 kB / 272.5 MB, free: 0.8555 MB / 250.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.0001143/0.02234, allocations: 103.2 kB / 272.6 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006327/0.02297, allocations: 0.6286 MB / 273.2 MB, free: 64 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.02298, allocations: 0 / 273.2 MB, free: 64 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.02312, allocations: 107.4 kB / 273.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.02356, allocations: 153 kB / 273.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.02523, allocations: 0.8542 MB / 274.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.335e-05/0.02533, allocations: 117.8 kB / 274.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001859/0.02551, allocations: 60.23 kB / 274.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.728e-05/0.02561, allocations: 44.5 kB / 274.6 MB, free: 14.67 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.02561, allocations: 0 / 274.6 MB, free: 14.67 MB / 266.7 MB Notification: Performance of Templates: time 0.01147/0.03708, allocations: 9.318 MB / 283.9 MB, free: 5.383 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.0462997192516923]