Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001656/0.001656, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002102/0.002102, allocations: 212 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.65/1.65, allocations: 230.2 MB / 256.8 MB, free: 8.625 MB / 206.1 MB [Timeout remaining time 88] 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.TwoMass,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.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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 67.89 kB / 376.9 MB, free: 3.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2315, allocations: 53.32 MB / 430.2 MB, free: 7.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006665/0.2381, allocations: 5.062 MB / 435.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002742/0.2409, allocations: 1.336 MB / 436.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004532/0.2413, allocations: 19.88 kB / 436.6 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004907/0.2418, allocations: 158.6 kB / 436.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007817/0.2426, allocations: 333.2 kB / 437.1 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005076/0.2431, allocations: 227.6 kB / 437.3 MB, free: 484 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001529/0.2446, allocations: 1.183 MB / 438.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004417/0.2451, allocations: 219.6 kB / 438.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006818/0.2457, allocations: 454.5 kB / 439.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006844/0.2464, allocations: 0.5135 MB / 439.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.2466, allocations: 100 kB / 439.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.2468, allocations: 108 kB / 439.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002159/0.247, allocations: 223.2 kB / 440.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005557/0.2476, allocations: 0.5133 MB / 440.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.2489, allocations: 1.214 MB / 441.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2489, allocations: 0 / 441.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2489, allocations: 0 / 441.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.456e-05/0.249, allocations: 0 / 441.8 MB, free: 11.94 MB / 350.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.002684/0.2517, allocations: 1.367 MB / 443.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2517, allocations: 8.031 kB / 443.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002148/0.2519, allocations: 116.3 kB / 443.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.253, allocations: 0.5955 MB / 443.9 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002139/0.2532, allocations: 143 kB / 444 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.2533, allocations: 56.12 kB / 444.1 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.2549, allocations: 0.847 MB / 444.9 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.2549, allocations: 3.938 kB / 444.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-05/0.255, allocations: 28 kB / 445 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.255, allocations: 16 kB / 445 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.2564, allocations: 0.6024 MB / 445.6 MB, free: 7.93 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.00358/0.26, allocations: 2.046 MB / 447.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.2615, allocations: 0.8116 MB / 448.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008293/0.2623, allocations: 355.5 kB / 448.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-05/0.2624, allocations: 12.66 kB / 448.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.2624, allocations: 47.2 kB / 448.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.414e-06/0.2624, allocations: 3.938 kB / 448.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005516/0.2679, allocations: 1.797 MB / 450.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000489/0.2684, allocations: 0.8234 MB / 451.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009575/0.2694, allocations: 0.6293 MB / 452.1 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001416/0.2695, allocations: 49.64 kB / 452.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.2698, allocations: 337.4 kB / 452.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002733/0.2701, allocations: 265.7 kB / 452.7 MB, free: 296 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002573/0.2704, allocations: 146.7 kB / 452.9 MB, free: 144 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002449/0.2706, allocations: 386.8 kB / 453.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007024/0.2713, allocations: 269.8 kB / 453.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.2723, allocations: 0.5546 MB / 454.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.2738, allocations: 0.6817 MB / 454.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.2738, allocations: 4 kB / 454.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003007/0.2768, allocations: 1.091 MB / 455.9 MB, free: 13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.415e-05/0.2769, allocations: 89.11 kB / 455.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.984e-06/0.2769, allocations: 0 / 455.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000747/0.2776, allocations: 243.2 kB / 456.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006957/0.2783, allocations: 143.8 kB / 456.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009389/0.2877, allocations: 6.936 MB / 463.3 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.2888, allocations: 103.5 kB / 463.4 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.492e-05/0.2888, allocations: 24 kB / 463.4 MB, free: 4.883 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.0004007/0.2892, allocations: 213.8 kB / 463.6 MB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.2894, allocations: 91.48 kB / 463.7 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.2896, allocations: 87.34 kB / 463.8 MB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.2896, allocations: 8 kB / 463.8 MB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.2896, allocations: 0 / 463.8 MB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002696/0.2923, allocations: 1.237 MB / 465 MB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004259/0.2966, allocations: 1.92 MB / 466.9 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.2966, allocations: 4 kB / 466.9 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007296/0.2973, allocations: 139.8 kB / 467.1 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005833/0.2979, allocations: 206.3 kB / 467.3 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.434e-05/0.298, allocations: 19.98 kB / 467.3 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007441/0.3054, allocations: 5.342 MB / 472.6 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3054, allocations: 0 / 472.6 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00358/0.309, allocations: 1.4 MB / 474 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000478/0.3095, allocations: 248.3 kB / 474.3 MB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.3096, allocations: 20 kB / 474.3 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006697/0.3103, allocations: 47.95 kB / 474.3 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001995/0.3105, allocations: 64.56 kB / 474.4 MB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/0.3105, allocations: 20.12 kB / 474.4 MB, free: 9.168 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006255/0.3111, allocations: 459 kB / 474.9 MB, free: 8.723 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3111, allocations: 0 / 474.9 MB, free: 8.723 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009166/0.3121, allocations: 283.8 kB / 475.2 MB, free: 8.445 MB / 382.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.0002039/0.3123, allocations: 123.1 kB / 475.3 MB, free: 8.312 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002434/0.3147, allocations: 1.309 MB / 476.6 MB, free: 6.922 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.3147, allocations: 8.125 kB / 476.6 MB, free: 6.914 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001529/0.3162, allocations: 0.7417 MB / 477.3 MB, free: 6.129 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.3173, allocations: 234.6 kB / 477.6 MB, free: 5.898 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.3205, allocations: 1.655 MB / 479.2 MB, free: 4.207 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006454/0.3212, allocations: 0.9362 MB / 480.2 MB, free: 3.246 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/0.3215, allocations: 75.42 kB / 480.2 MB, free: 3.172 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3215, allocations: 4 kB / 480.2 MB, free: 3.168 MB / 382.1 MB Notification: Performance of Templates: time 0.03035/0.3518, allocations: 22.66 MB / 0.4911 GB, free: 12.58 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches