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.001306/0.001306, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.004452/0.004452, allocations: 159.9 kB / 24.91 MB, free: 8.719 MB / 18.57 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.9582/0.9582, allocations: 177 MB / 205.2 MB, free: 5.035 MB / 186.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.283e-06/1.283e-06, allocations: 0 / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.716e-05, allocations: 5.266 kB / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003625/0.003642, allocations: 3.699 MB / 277.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.005309, allocations: 1.043 MB / 278.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.005484, allocations: 11.94 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.005734, allocations: 103.1 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.006038, allocations: 206.2 kB / 278.5 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.006265, allocations: 139.7 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005567/0.006822, allocations: 0.7193 MB / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.007008, allocations: 132.8 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003414/0.007349, allocations: 395.2 kB / 279.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.007556, allocations: 215.4 kB / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.776e-05/0.007614, allocations: 56 kB / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.451e-05/0.007668, allocations: 60 kB / 280.2 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.685e-05/0.007735, allocations: 123.5 kB / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.007873, allocations: 219.5 kB / 280.5 MB, free: 9.906 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.008213, allocations: 462.3 kB / 280.9 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.008215, allocations: 0 / 280.9 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.008216, allocations: 0 / 280.9 MB, free: 9.453 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.008221, allocations: 4 kB / 280.9 MB, free: 9.449 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.0007349/0.008956, allocations: 0.7772 MB / 281.7 MB, free: 8.641 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.008989, allocations: 15.98 kB / 281.7 MB, free: 8.625 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.525e-05/0.009064, allocations: 76.86 kB / 281.8 MB, free: 8.551 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005331/0.009597, allocations: 275.8 kB / 282.1 MB, free: 8.254 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-05/0.009671, allocations: 110.3 kB / 282.2 MB, free: 8.129 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.077e-05/0.009712, allocations: 40.31 kB / 282.2 MB, free: 8.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004247/0.01014, allocations: 0.7535 MB / 283 MB, free: 7.184 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.01015, allocations: 4.188 kB / 283 MB, free: 7.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.01017, allocations: 20.12 kB / 283 MB, free: 7.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.01018, allocations: 8 kB / 283 MB, free: 7.152 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.01032, allocations: 107.1 kB / 283.1 MB, free: 7.047 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008447/0.01117, allocations: 0.6402 MB / 283.8 MB, free: 6.387 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.01136, allocations: 158.4 kB / 283.9 MB, free: 6.223 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.808e-05/0.01142, allocations: 61.42 kB / 284 MB, free: 6.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.01145, allocations: 11.86 kB / 284 MB, free: 6.148 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.01147, allocations: 42.56 kB / 284 MB, free: 6.098 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.262e-06/0.01147, allocations: 0 / 284 MB, free: 6.098 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0003976/0.01187, allocations: 269.3 kB / 284.3 MB, free: 5.824 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.01199, allocations: 445 kB / 284.7 MB, free: 5.285 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.01219, allocations: 367.2 kB / 285.1 MB, free: 4.914 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.01221, allocations: 37.7 kB / 285.1 MB, free: 4.871 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.724e-05/0.01229, allocations: 197.4 kB / 285.3 MB, free: 4.676 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.049e-05/0.01235, allocations: 122.9 kB / 285.4 MB, free: 4.555 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-05/0.01242, allocations: 81.44 kB / 285.5 MB, free: 4.469 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.452e-05/0.01251, allocations: 358.7 kB / 285.9 MB, free: 4.109 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.574e-05/0.01258, allocations: 65.69 kB / 285.9 MB, free: 4.039 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.0128, allocations: 0.5684 MB / 286.5 MB, free: 3.316 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.01295, allocations: 157.2 kB / 286.7 MB, free: 3.152 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01296, allocations: 0 / 286.7 MB, free: 3.152 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002428/0.0132, allocations: 284.1 kB / 286.9 MB, free: 2.852 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.01322, allocations: 29.7 kB / 287 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.01323, allocations: 0 / 287 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.665e-05/0.01331, allocations: 37.64 kB / 287 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.01356, allocations: 95.86 kB / 287.1 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.01486, allocations: 2.415 MB / 289.5 MB, free: 92 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.01501, allocations: 43.95 kB / 289.5 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.01503, allocations: 8 kB / 289.6 MB, free: 40 kB / 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.1069/0.1219, allocations: 129.5 kB / 289.7 MB, free: 25.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.122, allocations: 44 kB / 289.7 MB, free: 25.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.519e-05/0.1221, allocations: 52.14 kB / 289.8 MB, free: 25.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1221, allocations: 6.719 kB / 289.8 MB, free: 25.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1221, allocations: 3.062 kB / 289.8 MB, free: 25.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002945/0.1224, allocations: 0.5304 MB / 290.3 MB, free: 24.85 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008144/0.1232, allocations: 0.5192 MB / 290.8 MB, free: 24.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1232, allocations: 2.781 kB / 290.8 MB, free: 24.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003838/0.1236, allocations: 101.6 kB / 290.9 MB, free: 24.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.1236, allocations: 2.844 kB / 290.9 MB, free: 24.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.1236, allocations: 10.72 kB / 290.9 MB, free: 24.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.1236, allocations: 1.312 kB / 291 MB, free: 24.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1236, allocations: 2.312 kB / 291 MB, free: 24.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/0.124, allocations: 338.5 kB / 291.3 MB, free: 24.51 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.1241, allocations: 51.5 kB / 291.3 MB, free: 24.51 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.934e-05/0.1242, allocations: 14.39 kB / 291.3 MB, free: 24.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.1244, allocations: 21.92 kB / 291.4 MB, free: 24.51 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.1245, allocations: 24.69 kB / 291.4 MB, free: 24.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.1245, allocations: 5.891 kB / 291.4 MB, free: 24.51 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001775/0.1246, allocations: 161.6 kB / 291.6 MB, free: 24.49 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1246, allocations: 0.5469 kB / 291.6 MB, free: 24.49 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004081/0.1251, allocations: 144.1 kB / 291.7 MB, free: 24.49 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.0001029/0.1252, allocations: 89.95 kB / 291.8 MB, free: 24.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005041/0.1257, allocations: 492.9 kB / 292.3 MB, free: 24.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/0.1257, allocations: 4.656 kB / 292.3 MB, free: 24.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.1258, allocations: 95.05 kB / 292.4 MB, free: 24.08 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/0.1263, allocations: 143.4 kB / 292.5 MB, free: 24.08 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.1278, allocations: 0.8354 MB / 293.3 MB, free: 23.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.277e-05/0.1279, allocations: 111.6 kB / 293.4 MB, free: 23.6 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002269/0.1281, allocations: 63.89 kB / 293.5 MB, free: 23.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004369/0.1285, allocations: 230.9 kB / 293.7 MB, free: 23.55 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1285, allocations: 0 / 293.7 MB, free: 23.55 MB / 266.7 MB Notification: Performance of Templates: time 0.01406/0.1426, allocations: 10.05 MB / 303.8 MB, free: 20.34 MB / 266.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 -s gbode -gbm=radauIIA3 -emit_protected -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.7030686629004776]