Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.0008817/0.0008817, allocations: 84.73 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.0008737/0.0008737, allocations: 160.2 kB / 24.91 MB, free: 8.77 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.9232/0.9232, allocations: 177 MB / 205.2 MB, free: 5.457 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.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 273.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324e-05/1.433e-05, allocations: 6.312 kB / 273.4 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.003831/0.003846, allocations: 4.879 MB / 278.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.006214, allocations: 1.351 MB / 279.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003026/0.006517, allocations: 11.94 kB / 279.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.006835, allocations: 170.5 kB / 279.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004679/0.007303, allocations: 349 kB / 280.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.007648, allocations: 231.5 kB / 280.4 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009159/0.008564, allocations: 1.199 MB / 281.6 MB, free: 9.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002656/0.00883, allocations: 236.4 kB / 281.8 MB, free: 8.773 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006134/0.009443, allocations: 0.6666 MB / 282.5 MB, free: 8.105 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004101/0.009853, allocations: 382.9 kB / 282.8 MB, free: 7.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.009954, allocations: 104 kB / 282.9 MB, free: 7.629 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.01006, allocations: 104 kB / 283 MB, free: 7.527 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.01018, allocations: 223.2 kB / 283.2 MB, free: 7.309 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002752/0.01046, allocations: 379.2 kB / 283.6 MB, free: 6.938 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005769/0.01103, allocations: 0.7785 MB / 284.4 MB, free: 6.156 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.01104, allocations: 0 / 284.4 MB, free: 6.156 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.01104, allocations: 0 / 284.4 MB, free: 6.156 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.01105, allocations: 3.938 kB / 284.4 MB, free: 6.152 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001211/0.01226, allocations: 1.22 MB / 285.6 MB, free: 4.883 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.01229, allocations: 11.98 kB / 285.6 MB, free: 4.871 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.01243, allocations: 124.8 kB / 285.8 MB, free: 4.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006721/0.0131, allocations: 365.4 kB / 286.1 MB, free: 4.367 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.01325, allocations: 297.2 kB / 286.4 MB, free: 4.023 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.569e-05/0.01333, allocations: 76.36 kB / 286.5 MB, free: 3.949 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000757/0.01409, allocations: 1.425 MB / 287.9 MB, free: 2.234 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.0141, allocations: 192 / 287.9 MB, free: 2.234 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.01414, allocations: 32.12 kB / 287.9 MB, free: 2.203 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.01415, allocations: 12 kB / 287.9 MB, free: 2.191 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002771/0.01443, allocations: 202.3 kB / 288.1 MB, free: 1.992 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.01603, allocations: 1.06 MB / 289.2 MB, free: 0.918 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005155/0.01654, allocations: 363.4 kB / 289.6 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.01672, allocations: 162.5 kB / 289.7 MB, free: 404 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.381e-05/0.01676, allocations: 24.64 kB / 289.7 MB, free: 380 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.01679, allocations: 51.16 kB / 289.8 MB, free: 320 kB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 1.884e-06/0.01679, allocations: 0 / 289.8 MB, free: 320 kB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.09985/0.1166, allocations: 0.8198 MB / 290.6 MB, free: 26.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.1167, allocations: 0.8239 MB / 291.4 MB, free: 25.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000395/0.1171, allocations: 479.2 kB / 291.9 MB, free: 25.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.845e-05/0.1172, allocations: 46.06 kB / 291.9 MB, free: 25.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.1173, allocations: 259.7 kB / 292.2 MB, free: 25.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.1174, allocations: 267.4 kB / 292.5 MB, free: 25.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.1176, allocations: 146.4 kB / 292.6 MB, free: 25.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.104e-05/0.1177, allocations: 389.5 kB / 293 MB, free: 24.76 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.1178, allocations: 159 kB / 293.1 MB, free: 24.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.1182, allocations: 1.17 MB / 294.3 MB, free: 23.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.1185, allocations: 366.8 kB / 294.7 MB, free: 23.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1185, allocations: 1.75 kB / 294.7 MB, free: 23.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009109/0.1194, allocations: 0.672 MB / 295.3 MB, free: 22.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/0.1194, allocations: 85.97 kB / 295.4 MB, free: 22.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1195, allocations: 3.797 kB / 295.4 MB, free: 22.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004056/0.1199, allocations: 166.1 kB / 295.6 MB, free: 22.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.1202, allocations: 127.5 kB / 295.7 MB, free: 22.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002532/0.1227, allocations: 5.298 MB / 301 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.123, allocations: 80.27 kB / 301.1 MB, free: 18.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.123, allocations: 19.27 kB / 301.1 MB, free: 18.13 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001437/0.1232, allocations: 163.9 kB / 301.3 MB, free: 18.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.544e-05/0.1233, allocations: 83.23 kB / 301.4 MB, free: 18.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.51e-05/0.1234, allocations: 85.94 kB / 301.4 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.1234, allocations: 7.859 kB / 301.4 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.1234, allocations: 0 / 301.4 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006452/0.124, allocations: 0.781 MB / 302.2 MB, free: 17.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.1254, allocations: 0.9612 MB / 303.2 MB, free: 17.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1254, allocations: 6 kB / 303.2 MB, free: 17.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003001/0.1257, allocations: 128.8 kB / 303.3 MB, free: 17.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002785/0.1259, allocations: 137.2 kB / 303.4 MB, free: 17.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.126, allocations: 18.42 kB / 303.5 MB, free: 17.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/0.1277, allocations: 4.019 MB / 307.5 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1277, allocations: 5.25 kB / 307.5 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000882/0.1286, allocations: 0.7056 MB / 308.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.1287, allocations: 86.33 kB / 308.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.734e-05/0.1288, allocations: 26.95 kB / 308.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.129, allocations: 33.23 kB / 308.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.1291, allocations: 57.98 kB / 308.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.1292, allocations: 17.42 kB / 308.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001719/0.1293, allocations: 227.6 kB / 308.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1293, allocations: 1.219 kB / 308.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005285/0.1299, allocations: 288.3 kB / 308.9 MB, free: 13.28 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001162/0.13, allocations: 111.2 kB / 309 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007045/0.1307, allocations: 1.066 MB / 310.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/0.1307, allocations: 11.88 kB / 310.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003148/0.131, allocations: 0.5483 MB / 310.7 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.1315, allocations: 234.2 kB / 310.9 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.1331, allocations: 1.333 MB / 312.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.1332, allocations: 160.8 kB / 312.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002406/0.1335, allocations: 97.09 kB / 312.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004843/0.134, allocations: 370 kB / 312.8 MB, free: 11 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.134, allocations: 0 / 312.8 MB, free: 11 MB / 266.7 MB Notification: Performance of Templates: time 0.01894/0.1529, allocations: 19.64 MB / 332.5 MB, free: 9.141 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.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.1183802830055356]