Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 111 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002171/0.002171, allocations: 207.2 kB / 24.47 MB, free: 3.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.436/1.436, allocations: 230.6 MB / 258.3 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 55.98 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2069, allocations: 53.36 MB / 432.3 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006158/0.213, allocations: 4.517 MB / 436.8 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.2151, allocations: 1.289 MB / 438.1 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002178/0.2153, allocations: 15.88 kB / 438.1 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003896/0.2157, allocations: 166.5 kB / 438.3 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006178/0.2163, allocations: 333.2 kB / 438.6 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.2168, allocations: 219.7 kB / 438.8 MB, free: 356 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001287/0.218, allocations: 1.18 MB / 440 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000366/0.2184, allocations: 218.6 kB / 440.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004975/0.2189, allocations: 466.4 kB / 440.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006007/0.2195, allocations: 0.5058 MB / 441.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.2197, allocations: 108 kB / 441.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.2199, allocations: 104 kB / 441.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002079/0.2201, allocations: 231.2 kB / 441.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004747/0.2205, allocations: 446.1 kB / 442.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.2218, allocations: 1.21 MB / 443.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2218, allocations: 0 / 443.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2218, allocations: 0 / 443.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.2218, allocations: 0 / 443.3 MB, free: 11.88 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.002667/0.2245, allocations: 1.3 MB / 444.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.2245, allocations: 8.031 kB / 444.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/0.2247, allocations: 116.3 kB / 444.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.2258, allocations: 0.5273 MB / 445.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003166/0.2261, allocations: 301.2 kB / 445.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.2262, allocations: 56.12 kB / 445.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/0.2283, allocations: 1.605 MB / 447.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.2283, allocations: 3.938 kB / 447.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.339e-05/0.2284, allocations: 28 kB / 447.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.2284, allocations: 20 kB / 447.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.2299, allocations: 0.5907 MB / 447.8 MB, free: 6.918 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.003224/0.2332, allocations: 1.526 MB / 449.4 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.2345, allocations: 0.592 MB / 449.9 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008412/0.2354, allocations: 350.6 kB / 450.3 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.994e-05/0.2354, allocations: 12.66 kB / 450.3 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.2355, allocations: 47.22 kB / 450.3 MB, free: 4.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.084e-06/0.2355, allocations: 7.938 kB / 450.4 MB, free: 4.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005519/0.241, allocations: 1.488 MB / 451.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004621/0.2414, allocations: 0.8195 MB / 452.7 MB, free: 1.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007793/0.2422, allocations: 0.598 MB / 453.3 MB, free: 1.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.721e-05/0.2423, allocations: 49.64 kB / 453.3 MB, free: 1.152 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.2426, allocations: 345.2 kB / 453.6 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/0.2428, allocations: 269.6 kB / 453.9 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002673/0.2431, allocations: 142.7 kB / 454 MB, free: 412 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.2433, allocations: 382.8 kB / 454.4 MB, free: 20 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007979/0.2441, allocations: 359 kB / 454.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/0.2456, allocations: 1.391 MB / 456.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.2471, allocations: 0.6817 MB / 456.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2471, allocations: 0 / 456.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002953/0.2501, allocations: 1.174 MB / 458 MB, free: 12.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.132e-05/0.2501, allocations: 85.05 kB / 458.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2501, allocations: 4 kB / 458.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000742/0.2509, allocations: 239.2 kB / 458.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007009/0.2516, allocations: 139.8 kB / 458.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008422/0.26, allocations: 6.387 MB / 464.9 MB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007943/0.2608, allocations: 95.56 kB / 465 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.109e-05/0.2609, allocations: 20.06 kB / 465 MB, free: 4.625 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.0003357/0.2612, allocations: 221.7 kB / 465.2 MB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.2614, allocations: 91.42 kB / 465.3 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.2615, allocations: 91 kB / 465.4 MB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.2616, allocations: 8 kB / 465.4 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2616, allocations: 0 / 465.4 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002735/0.2643, allocations: 1.233 MB / 466.6 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003898/0.2682, allocations: 1.654 MB / 468.3 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.2682, allocations: 4 kB / 468.3 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000755/0.269, allocations: 139.8 kB / 468.4 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005741/0.2695, allocations: 202.6 kB / 468.6 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.798e-05/0.2696, allocations: 16 kB / 468.6 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00691/0.2765, allocations: 4.94 MB / 473.6 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2765, allocations: 192 / 473.6 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003475/0.28, allocations: 1.396 MB / 475 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003568/0.2803, allocations: 159.3 kB / 475.1 MB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.2804, allocations: 20 kB / 475.1 MB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006801/0.2811, allocations: 51.94 kB / 475.2 MB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.2813, allocations: 64.48 kB / 475.2 MB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.017e-05/0.2813, allocations: 23.98 kB / 475.3 MB, free: 9.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005524/0.2819, allocations: 439 kB / 475.7 MB, free: 9.387 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2819, allocations: 0 / 475.7 MB, free: 9.387 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008326/0.2827, allocations: 287.7 kB / 476 MB, free: 9.105 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.0001685/0.2829, allocations: 119.2 kB / 476.1 MB, free: 8.977 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002386/0.2853, allocations: 1.392 MB / 477.5 MB, free: 7.477 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.2853, allocations: 4 kB / 477.5 MB, free: 7.473 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001543/0.2868, allocations: 0.7457 MB / 478.2 MB, free: 6.691 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009861/0.2878, allocations: 226.8 kB / 478.5 MB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.2906, allocations: 1.617 MB / 480.1 MB, free: 4.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.291, allocations: 349.6 kB / 480.4 MB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003832/0.2914, allocations: 102.2 kB / 480.5 MB, free: 4.352 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.2915, allocations: 67.42 kB / 480.6 MB, free: 4.285 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2915, allocations: 0 / 480.6 MB, free: 4.285 MB / 382.1 MB Notification: Performance of Templates: time 0.03314/0.3247, allocations: 20.49 MB / 0.4893 GB, free: 204 kB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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 [Calling sys.exit(0), Time elapsed: 5.122330379992491]