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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00093/0.00093, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009262/0.0009262, allocations: 147.8 kB / 24.89 MB, free: 8.789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9251/0.9251, allocations: 173.4 MB / 201.5 MB, free: 8.246 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 268.5 MB, free: 9.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.399e-05, allocations: 5.406 kB / 268.5 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003519/0.003533, allocations: 3.681 MB / 272.2 MB, free: 6.105 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.004736, allocations: 0.9988 MB / 273.2 MB, free: 5.109 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.004886, allocations: 7.938 kB / 273.2 MB, free: 5.102 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.005131, allocations: 111 kB / 273.3 MB, free: 4.992 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002752/0.005407, allocations: 214.2 kB / 273.5 MB, free: 4.781 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.005588, allocations: 131.8 kB / 273.6 MB, free: 4.652 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004941/0.006082, allocations: 0.7116 MB / 274.3 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.006271, allocations: 136.8 kB / 274.5 MB, free: 3.793 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.006548, allocations: 391.2 kB / 274.9 MB, free: 3.41 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.006761, allocations: 215.4 kB / 275.1 MB, free: 3.199 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.72e-05/0.006818, allocations: 60 kB / 275.1 MB, free: 3.141 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.541e-05/0.006873, allocations: 60 kB / 275.2 MB, free: 3.082 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.754e-05/0.006951, allocations: 131.5 kB / 275.3 MB, free: 2.953 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.007088, allocations: 219.5 kB / 275.5 MB, free: 2.738 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003465/0.007435, allocations: 446.4 kB / 276 MB, free: 2.301 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.007437, allocations: 0 / 276 MB, free: 2.301 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.007437, allocations: 0 / 276 MB, free: 2.301 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.007442, allocations: 0 / 276 MB, free: 2.301 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.0007758/0.008218, allocations: 0.7889 MB / 276.8 MB, free: 1.48 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.008249, allocations: 8.031 kB / 276.8 MB, free: 1.473 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003372/0.008586, allocations: 72.88 kB / 276.8 MB, free: 1.402 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.008889, allocations: 279.7 kB / 277.1 MB, free: 1.102 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.79e-05/0.008967, allocations: 106.3 kB / 277.2 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.009009, allocations: 44.38 kB / 277.3 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004358/0.009444, allocations: 0.7536 MB / 278 MB, free: 36 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.009456, allocations: 192 / 278 MB, free: 36 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.009479, allocations: 16.12 kB / 278 MB, free: 20 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.009488, allocations: 11.98 kB / 278 MB, free: 8 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.009646, allocations: 107.1 kB / 278.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00086/0.01051, allocations: 0.6557 MB / 278.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.01069, allocations: 144.4 kB / 278.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.069e-05/0.01076, allocations: 61.73 kB / 279 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.01079, allocations: 12.58 kB / 279 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.01081, allocations: 38.56 kB / 279 MB, free: 14.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.493e-06/0.01081, allocations: 0 / 279 MB, free: 14.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0004345/0.01125, allocations: 278.7 kB / 279.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.01138, allocations: 449 kB / 279.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.01159, allocations: 355.3 kB / 280.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.01162, allocations: 33.7 kB / 280.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.29e-05/0.0117, allocations: 201.4 kB / 280.3 MB, free: 13.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.497e-05/0.01176, allocations: 130.8 kB / 280.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.792e-05/0.01184, allocations: 73.66 kB / 280.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.01193, allocations: 358.7 kB / 280.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.812e-05/0.012, allocations: 61.67 kB / 280.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.01224, allocations: 0.568 MB / 281.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.0124, allocations: 169.2 kB / 281.7 MB, free: 12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.0124, allocations: 0 / 281.7 MB, free: 12 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002608/0.01266, allocations: 276.1 kB / 281.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.01269, allocations: 33.7 kB / 282 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.0127, allocations: 0 / 282 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.088e-05/0.01279, allocations: 41.61 kB / 282 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.01304, allocations: 97.92 kB / 282.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.01467, allocations: 2.422 MB / 284.5 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.01482, allocations: 43.75 kB / 284.6 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.01484, allocations: 8 kB / 284.6 MB, free: 8.883 MB / 266.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.0001003/0.01494, allocations: 134 kB / 284.7 MB, free: 8.742 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.01499, allocations: 47.94 kB / 284.8 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.414e-05/0.01504, allocations: 52.56 kB / 284.8 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.01504, allocations: 7.938 kB / 284.8 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.01505, allocations: 4 kB / 284.8 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002646/0.01531, allocations: 0.537 MB / 285.4 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.01585, allocations: 0.5177 MB / 285.9 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01585, allocations: 0 / 285.9 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.0161, allocations: 107.8 kB / 286 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.01611, allocations: 4 kB / 286 MB, free: 7.328 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.01612, allocations: 8 kB / 286 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01612, allocations: 4 kB / 286 MB, free: 7.316 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.01612, allocations: 0 / 286 MB, free: 7.316 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.0164, allocations: 332.4 kB / 286.3 MB, free: 6.977 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.983e-05/0.01649, allocations: 55.59 kB / 286.4 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.01652, allocations: 8 kB / 286.4 MB, free: 6.914 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.01666, allocations: 23.98 kB / 286.4 MB, free: 6.891 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.01671, allocations: 23.95 kB / 286.4 MB, free: 6.867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.01672, allocations: 4.031 kB / 286.4 MB, free: 6.863 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001082/0.01683, allocations: 168.7 kB / 286.6 MB, free: 6.695 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01683, allocations: 3.938 kB / 286.6 MB, free: 6.691 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002286/0.01705, allocations: 143.8 kB / 286.8 MB, free: 6.551 MB / 266.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 8.397e-05/0.01714, allocations: 84.36 kB / 286.8 MB, free: 6.461 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004118/0.01755, allocations: 495.3 kB / 287.3 MB, free: 5.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.01756, allocations: 4 kB / 287.3 MB, free: 5.926 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.094e-05/0.01765, allocations: 92.67 kB / 287.4 MB, free: 5.832 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.01799, allocations: 145.3 kB / 287.6 MB, free: 5.691 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.01919, allocations: 0.84 MB / 288.4 MB, free: 4.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.224e-05/0.01925, allocations: 109.8 kB / 288.5 MB, free: 4.691 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001332/0.01939, allocations: 60.23 kB / 288.6 MB, free: 4.629 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003232/0.01971, allocations: 237.2 kB / 288.8 MB, free: 4.395 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01971, allocations: 4 kB / 288.8 MB, free: 4.391 MB / 266.7 MB Notification: Performance of Templates: time 0.01165/0.03136, allocations: 10.05 MB / 298.8 MB, free: 10.63 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7465056548826396]