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.001529/0.001529, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001822/0.001822, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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 1.025/1.025, allocations: 177 MB / 204.8 MB, free: 5.613 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 2.174e-06/2.174e-06, allocations: 3.984 kB / 272.9 MB, free: 1.492 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.097e-05, allocations: 5.266 kB / 272.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004226/0.004247, allocations: 4.952 MB / 277.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.006137, allocations: 1.312 MB / 279.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002909/0.006428, allocations: 11.94 kB / 279.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.006782, allocations: 162.6 kB / 279.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004871/0.007269, allocations: 337 kB / 279.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.007628, allocations: 227.5 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008472/0.008475, allocations: 1.211 MB / 281.1 MB, free: 9.246 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003021/0.008777, allocations: 222.4 kB / 281.3 MB, free: 9.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004991/0.009277, allocations: 0.6705 MB / 282 MB, free: 8.348 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003635/0.00964, allocations: 375 kB / 282.4 MB, free: 7.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.009745, allocations: 100 kB / 282.5 MB, free: 7.883 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.009856, allocations: 104 kB / 282.6 MB, free: 7.781 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.009978, allocations: 227.2 kB / 282.8 MB, free: 7.559 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002563/0.01023, allocations: 379.2 kB / 283.1 MB, free: 7.188 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006019/0.01084, allocations: 0.7785 MB / 283.9 MB, free: 6.406 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.01084, allocations: 0 / 283.9 MB, free: 6.406 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01084, allocations: 4 kB / 283.9 MB, free: 6.402 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.118e-06/0.01085, allocations: 0 / 283.9 MB, free: 6.402 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.00139/0.01224, allocations: 1.361 MB / 285.3 MB, free: 4.984 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.01228, allocations: 15.98 kB / 285.3 MB, free: 4.969 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.01245, allocations: 160.3 kB / 285.5 MB, free: 4.812 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005383/0.01299, allocations: 493.3 kB / 285.9 MB, free: 4.305 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.01315, allocations: 297.2 kB / 286.2 MB, free: 3.957 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.159e-05/0.01323, allocations: 76.38 kB / 286.3 MB, free: 3.883 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009773/0.01421, allocations: 1.519 MB / 287.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.01423, allocations: 192 / 287.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.468e-05/0.01427, allocations: 32.12 kB / 287.9 MB, free: 2.008 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.01428, allocations: 19.98 kB / 287.9 MB, free: 1.988 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004768/0.01476, allocations: 311.6 kB / 288.2 MB, free: 1.684 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001948/0.01671, allocations: 1.51 MB / 289.7 MB, free: 140 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007767/0.01749, allocations: 465 kB / 290.1 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.01779, allocations: 213.5 kB / 290.4 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.048e-05/0.01784, allocations: 16.66 kB / 290.4 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.01788, allocations: 50.05 kB / 290.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of pre-optimization done (n=73): time 1.904e-06/0.01788, allocations: 0 / 290.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=73): time 0.002035/0.01992, allocations: 1.038 MB / 291.5 MB, free: 14.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002458/0.02016, allocations: 0.8273 MB / 292.3 MB, free: 13.29 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004564/0.02062, allocations: 0.5845 MB / 292.9 MB, free: 12.69 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.02066, allocations: 45.64 kB / 292.9 MB, free: 12.64 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.02086, allocations: 404 kB / 293.3 MB, free: 12.24 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.021, allocations: 265.7 kB / 293.6 MB, free: 11.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.02116, allocations: 148.3 kB / 293.7 MB, free: 11.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.02133, allocations: 0.5586 MB / 294.3 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.02157, allocations: 208.7 kB / 294.5 MB, free: 11.03 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006507/0.02222, allocations: 1.303 MB / 295.8 MB, free: 9.383 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004792/0.0227, allocations: 434.7 kB / 296.2 MB, free: 8.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.0227, allocations: 0 / 296.2 MB, free: 8.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001073/0.02377, allocations: 0.8766 MB / 297.1 MB, free: 7.996 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/0.02382, allocations: 89.05 kB / 297.2 MB, free: 7.891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.02383, allocations: 4 kB / 297.2 MB, free: 7.887 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004623/0.02429, allocations: 194.5 kB / 297.4 MB, free: 7.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.02458, allocations: 123.9 kB / 297.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1313/0.1559, allocations: 7.789 MB / 305.3 MB, free: 37.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006336/0.1566, allocations: 81.69 kB / 305.4 MB, free: 37.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.212e-05/0.1566, allocations: 22.64 kB / 305.4 MB, free: 37.78 MB / 282.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.0002219/0.1568, allocations: 210.1 kB / 305.6 MB, free: 37.62 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.157, allocations: 108.7 kB / 305.7 MB, free: 37.62 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.141e-05/0.1571, allocations: 92.83 kB / 305.8 MB, free: 37.61 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.1571, allocations: 8.125 kB / 305.8 MB, free: 37.61 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1571, allocations: 0 / 305.8 MB, free: 37.61 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001031/0.1581, allocations: 0.9248 MB / 306.7 MB, free: 37.04 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.16, allocations: 1.394 MB / 308.1 MB, free: 36.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.16, allocations: 5.281 kB / 308.1 MB, free: 36.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/0.1603, allocations: 129.4 kB / 308.2 MB, free: 36.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003843/0.1607, allocations: 159.7 kB / 308.4 MB, free: 36.64 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/0.1608, allocations: 17.03 kB / 308.4 MB, free: 36.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002546/0.1633, allocations: 5.918 MB / 314.3 MB, free: 31.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.1633, allocations: 9.172 kB / 314.3 MB, free: 31.26 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.1647, allocations: 0.9522 MB / 315.3 MB, free: 30.96 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002224/0.1649, allocations: 159.9 kB / 315.4 MB, free: 30.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.912e-05/0.1649, allocations: 20.08 kB / 315.5 MB, free: 30.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002773/0.1652, allocations: 33.53 kB / 315.5 MB, free: 30.93 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.1654, allocations: 61.05 kB / 315.6 MB, free: 30.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.1654, allocations: 19.39 kB / 315.6 MB, free: 30.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003631/0.1658, allocations: 392.6 kB / 316 MB, free: 30.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1658, allocations: 1.406 kB / 316 MB, free: 30.79 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000721/0.1665, allocations: 287.8 kB / 316.2 MB, free: 30.78 MB / 282.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.0001268/0.1666, allocations: 123.2 kB / 316.4 MB, free: 30.69 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.1678, allocations: 1.372 MB / 317.7 MB, free: 29.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.1678, allocations: 2.844 kB / 317.7 MB, free: 29.68 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004774/0.1683, allocations: 0.7528 MB / 318.5 MB, free: 29.15 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00065/0.1689, allocations: 228.4 kB / 318.7 MB, free: 29.15 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.1711, allocations: 1.428 MB / 320.1 MB, free: 28.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.1713, allocations: 165.4 kB / 320.3 MB, free: 28.33 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002985/0.1716, allocations: 99.34 kB / 320.4 MB, free: 28.3 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.1717, allocations: 70.73 kB / 320.5 MB, free: 28.28 MB / 282.7 MB Notification: Performance of SimCode: time 8.81e-07/0.1717, allocations: 0 / 320.5 MB, free: 28.28 MB / 282.7 MB Notification: Performance of Templates: time 0.01751/0.1892, allocations: 18.52 MB / 339 MB, free: 14.74 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.519908392801881]