Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 104 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 194.4 kB / 22.76 MB, free: 5.723 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 225.6 MB / 251.4 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] 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.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 59.91 kB / 369.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.25, allocations: 52.13 MB / 421.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006385/0.2564, allocations: 5.064 MB / 426.3 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002619/0.259, allocations: 1.305 MB / 427.6 MB, free: 8.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004115/0.2594, allocations: 8 kB / 427.7 MB, free: 8.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005246/0.2599, allocations: 166.5 kB / 427.8 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007577/0.2607, allocations: 337.2 kB / 428.1 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005571/0.2613, allocations: 223.6 kB / 428.4 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001451/0.2627, allocations: 1.18 MB / 429.5 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004092/0.2631, allocations: 219.7 kB / 429.8 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005739/0.2637, allocations: 454.4 kB / 430.2 MB, free: 6.203 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000672/0.2644, allocations: 0.5096 MB / 430.7 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.2645, allocations: 104 kB / 430.8 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.2647, allocations: 104 kB / 430.9 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002219/0.265, allocations: 227.2 kB / 431.1 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005907/0.2655, allocations: 0.5249 MB / 431.7 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.2669, allocations: 1.198 MB / 432.9 MB, free: 3.539 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2669, allocations: 0 / 432.9 MB, free: 3.539 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.699e-06/0.2669, allocations: 3.984 kB / 432.9 MB, free: 3.535 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.583e-05/0.2669, allocations: 0 / 432.9 MB, free: 3.535 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002589/0.2695, allocations: 1.371 MB / 434.2 MB, free: 2.094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.2696, allocations: 15.83 kB / 434.3 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.2698, allocations: 112.3 kB / 434.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.2709, allocations: 0.5916 MB / 435 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002181/0.2711, allocations: 143 kB / 435.1 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.2712, allocations: 64.02 kB / 435.2 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.2727, allocations: 0.8548 MB / 436 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.2728, allocations: 0 / 436 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.282e-05/0.2728, allocations: 28 kB / 436 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.2728, allocations: 16 kB / 436.1 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.2743, allocations: 0.6023 MB / 436.7 MB, free: 15.51 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003493/0.2778, allocations: 2.054 MB / 438.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.2792, allocations: 0.7961 MB / 439.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008007/0.28, allocations: 362.6 kB / 439.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.529e-05/0.28, allocations: 12.64 kB / 439.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/0.2801, allocations: 43.22 kB / 439.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.894e-06/0.2801, allocations: 8 kB / 439.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005345/0.2854, allocations: 1.785 MB / 441.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004617/0.2859, allocations: 0.8195 MB / 442.5 MB, free: 9.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008597/0.2868, allocations: 0.6371 MB / 443.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.661e-05/0.2868, allocations: 45.7 kB / 443.2 MB, free: 8.477 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002876/0.2871, allocations: 337.4 kB / 443.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002428/0.2874, allocations: 273.6 kB / 443.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.2876, allocations: 146.6 kB / 443.9 MB, free: 7.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002056/0.2878, allocations: 386.8 kB / 444.3 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006703/0.2885, allocations: 269.8 kB / 444.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.2895, allocations: 0.5507 MB / 445.1 MB, free: 6.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.291, allocations: 0.6855 MB / 445.8 MB, free: 5.719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.291, allocations: 0 / 445.8 MB, free: 5.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00283/0.2938, allocations: 1.099 MB / 446.9 MB, free: 4.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.34e-05/0.2939, allocations: 81.11 kB / 447 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.2939, allocations: 0 / 447 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007425/0.2947, allocations: 247.2 kB / 447.2 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006565/0.2953, allocations: 135.8 kB / 447.4 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008838/0.3042, allocations: 6.933 MB / 454.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009307/0.3051, allocations: 107.4 kB / 454.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.388e-05/0.3052, allocations: 20 kB / 454.4 MB, free: 12.48 MB / 366.1 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 (69): * Single equations (assignments): 62 * 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.0003818/0.3055, allocations: 224.8 kB / 454.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.3057, allocations: 91.44 kB / 454.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.3059, allocations: 91.33 kB / 454.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3059, allocations: 8 kB / 454.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.3059, allocations: 0 / 454.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002659/0.3086, allocations: 1.237 MB / 456.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004191/0.3128, allocations: 1.912 MB / 458 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.3128, allocations: 0 / 458 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007026/0.3135, allocations: 148 kB / 458.1 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005734/0.314, allocations: 194.5 kB / 458.3 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.997e-05/0.3141, allocations: 16 kB / 458.3 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007309/0.3214, allocations: 5.354 MB / 463.7 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3214, allocations: 0 / 463.7 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003559/0.325, allocations: 1.396 MB / 465.1 MB, free: 1.172 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005111/0.3255, allocations: 240.4 kB / 465.3 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/0.3256, allocations: 27.92 kB / 465.4 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006917/0.3263, allocations: 51.89 kB / 465.4 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/0.3265, allocations: 60.58 kB / 465.5 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-05/0.3266, allocations: 19.98 kB / 465.5 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006685/0.3272, allocations: 455.1 kB / 465.9 MB, free: 328 kB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3272, allocations: 0 / 465.9 MB, free: 328 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009813/0.3282, allocations: 283.8 kB / 466.2 MB, free: 44 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0002403/0.3285, allocations: 123.7 kB / 466.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002399/0.3309, allocations: 1.313 MB / 467.6 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.3309, allocations: 8.125 kB / 467.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.3323, allocations: 0.7533 MB / 468.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.3334, allocations: 237.9 kB / 468.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003053/0.3364, allocations: 1.644 MB / 470.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006305/0.337, allocations: 0.944 MB / 471.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.3373, allocations: 75.36 kB / 471.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3373, allocations: 0 / 471.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of Templates: time 0.02983/0.3671, allocations: 22.66 MB / 493.9 MB, free: 4.184 MB / 398.1 MB [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches