Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001109/0.001109, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001524/0.002632, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009679/0.0009679, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000911/0.001879, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9312/0.9312, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.086/1.017, allocations: 53.87 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.52e-05, allocations: 10.25 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005464/0.005489, allocations: 3.707 MB / 248.7 MB, free: 9.938 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002543/0.008032, allocations: 1.043 MB / 249.8 MB, free: 8.887 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003085/0.00834, allocations: 11.94 kB / 249.8 MB, free: 8.875 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.008646, allocations: 111 kB / 249.9 MB, free: 8.766 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000503/0.009149, allocations: 206.2 kB / 250.1 MB, free: 8.562 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.009475, allocations: 135.7 kB / 250.2 MB, free: 8.43 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008904/0.01037, allocations: 0.7079 MB / 250.9 MB, free: 7.719 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002632/0.01063, allocations: 136.8 kB / 251 MB, free: 7.582 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007352/0.01136, allocations: 477.9 kB / 251.5 MB, free: 7.113 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003588/0.01172, allocations: 219.4 kB / 251.7 MB, free: 6.898 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.01183, allocations: 60 kB / 251.8 MB, free: 6.84 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.699e-05/0.01193, allocations: 56 kB / 251.8 MB, free: 6.785 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.916e-05/0.01202, allocations: 95.62 kB / 251.9 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.01224, allocations: 175.7 kB / 252.1 MB, free: 6.52 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000529/0.01277, allocations: 414.5 kB / 252.5 MB, free: 6.113 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-05/0.01279, allocations: 0 / 252.5 MB, free: 6.113 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.01279, allocations: 4 kB / 252.5 MB, free: 6.109 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.865e-05/0.01282, allocations: 0 / 252.5 MB, free: 6.109 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.001388/0.0142, allocations: 0.9018 MB / 253.4 MB, free: 5.176 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.01424, allocations: 12.62 kB / 253.4 MB, free: 5.164 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.01437, allocations: 68.88 kB / 253.5 MB, free: 5.098 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004647/0.01483, allocations: 279.8 kB / 253.8 MB, free: 4.801 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.01495, allocations: 114.3 kB / 253.9 MB, free: 4.672 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.358e-05/0.01502, allocations: 44.38 kB / 253.9 MB, free: 4.629 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006869/0.0157, allocations: 0.7419 MB / 254.7 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.01572, allocations: 192 / 254.7 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.01576, allocations: 20.12 kB / 254.7 MB, free: 3.715 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.01577, allocations: 8 kB / 254.7 MB, free: 3.707 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.01602, allocations: 107.1 kB / 254.8 MB, free: 3.602 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.01748, allocations: 0.6596 MB / 255.5 MB, free: 2.922 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.01778, allocations: 138.4 kB / 255.6 MB, free: 2.777 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.0179, allocations: 70.3 kB / 255.7 MB, free: 2.707 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.92e-05/0.01794, allocations: 11.86 kB / 255.7 MB, free: 2.695 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.01798, allocations: 42.56 kB / 255.7 MB, free: 2.645 MB / 250.7 MB Notification: Performance of pre-optimization done (n=35): time 1.883e-06/0.01798, allocations: 0 / 255.7 MB, free: 2.645 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006638/0.01864, allocations: 278.8 kB / 256 MB, free: 2.359 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.01868, allocations: 55.41 kB / 256 MB, free: 2.293 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005767/0.01925, allocations: 363.3 kB / 256.4 MB, free: 1.926 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.01929, allocations: 37.7 kB / 256.4 MB, free: 1.883 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.01941, allocations: 193.5 kB / 256.6 MB, free: 1.688 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.143e-05/0.0195, allocations: 130.8 kB / 256.8 MB, free: 1.559 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.01961, allocations: 77.45 kB / 256.8 MB, free: 1.477 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.01973, allocations: 358.7 kB / 257.2 MB, free: 1.117 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.01985, allocations: 65.67 kB / 257.2 MB, free: 1.047 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003235/0.02017, allocations: 0.5646 MB / 257.8 MB, free: 336 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.02042, allocations: 173.1 kB / 258 MB, free: 152 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.02042, allocations: 0 / 258 MB, free: 152 kB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003992/0.02082, allocations: 272.1 kB / 258.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.953e-05/0.02086, allocations: 33.69 kB / 258.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.02086, allocations: 0 / 258.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001191/0.02098, allocations: 37.7 kB / 258.3 MB, free: 15.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004146/0.0214, allocations: 104.5 kB / 258.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/0.02314, allocations: 2.403 MB / 260.8 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.02341, allocations: 47.75 kB / 260.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.02344, allocations: 8 kB / 260.9 MB, free: 13.05 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.0001375/0.02357, allocations: 133.8 kB / 261 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.406e-05/0.02365, allocations: 43.95 kB / 261 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.584e-05/0.02372, allocations: 52.56 kB / 261.1 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.02373, allocations: 11.94 kB / 261.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.02373, allocations: 0 / 261.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003769/0.02411, allocations: 0.5292 MB / 261.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008382/0.02495, allocations: 0.5332 MB / 262.2 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.02495, allocations: 4 kB / 262.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004301/0.02538, allocations: 111 kB / 262.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.02552, allocations: 51.64 kB / 262.3 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.02552, allocations: 4 kB / 262.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.02554, allocations: 8 kB / 262.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.02554, allocations: 0 / 262.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.02554, allocations: 4 kB / 262.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004226/0.02597, allocations: 332.4 kB / 262.7 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.218e-05/0.02603, allocations: 12 kB / 262.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.02628, allocations: 23.97 kB / 262.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/0.02634, allocations: 23.95 kB / 262.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.02635, allocations: 12.03 kB / 262.7 MB, free: 11.01 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001702/0.02652, allocations: 156.7 kB / 262.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02652, allocations: 0 / 262.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003935/0.02692, allocations: 143.8 kB / 263 MB, free: 10.72 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 0.0001322/0.02705, allocations: 84.36 kB / 263.1 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000876/0.02793, allocations: 495.3 kB / 263.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.624e-05/0.02794, allocations: 8.062 kB / 263.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.0281, allocations: 100.4 kB / 263.7 MB, free: 9.988 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005588/0.02866, allocations: 193.4 kB / 263.9 MB, free: 9.797 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00954/0.0382, allocations: 0.8142 MB / 264.7 MB, free: 8.949 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.861e-05/0.03829, allocations: 117.8 kB / 264.8 MB, free: 8.812 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003128/0.03861, allocations: 60.25 kB / 264.9 MB, free: 8.754 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005268/0.03913, allocations: 237.1 kB / 265.1 MB, free: 8.52 MB / 266.7 MB Notification: Performance of SimCode: time 1.382e-06/0.03914, allocations: 3.938 kB / 265.1 MB, free: 8.516 MB / 266.7 MB Notification: Performance of Templates: time 0.01815/0.05728, allocations: 10.92 MB / 276 MB, free: 13.86 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.717947980388999]