Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001398/0.001398, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.001495/0.001495, allocations: 200.8 kB / 25.23 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 56.41 kB / 348.4 MB, free: 9.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.318, allocations: 49.16 MB / 397.6 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005342/0.3234, allocations: 5.071 MB / 402.7 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002402/0.3258, allocations: 1.357 MB / 404 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003958/0.3262, allocations: 16.56 kB / 404 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004342/0.3266, allocations: 155.9 kB / 404.2 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006573/0.3273, allocations: 344.3 kB / 404.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.3278, allocations: 225.2 kB / 404.8 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001245/0.329, allocations: 1.174 MB / 405.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003474/0.3294, allocations: 213.7 kB / 406.1 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006433/0.33, allocations: 468.8 kB / 406.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006485/0.3307, allocations: 0.5051 MB / 407.1 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.3308, allocations: 103.3 kB / 407.2 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.331, allocations: 110.5 kB / 407.3 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.3312, allocations: 225.2 kB / 407.5 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004371/0.3316, allocations: 0.519 MB / 408 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.333, allocations: 1.213 MB / 409.3 MB, free: 2.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.333, allocations: 0 / 409.3 MB, free: 2.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.333, allocations: 0 / 409.3 MB, free: 2.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.333, allocations: 1.375 kB / 409.3 MB, free: 2.25 MB / 318.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.002413/0.3354, allocations: 1.295 MB / 410.6 MB, free: 1.387 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3354, allocations: 14.31 kB / 410.6 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.3356, allocations: 109.9 kB / 410.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.3366, allocations: 0.5279 MB / 411.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/0.3368, allocations: 302.5 kB / 411.5 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-05/0.3369, allocations: 58.03 kB / 411.6 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.3383, allocations: 0.8467 MB / 412.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.3383, allocations: 8 kB / 412.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-05/0.3384, allocations: 28.59 kB / 412.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.3384, allocations: 13.03 kB / 412.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.3399, allocations: 0.6019 MB / 413.1 MB, free: 15.63 MB / 334.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.003885/0.3438, allocations: 2.013 MB / 415.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.3451, allocations: 0.5778 MB / 415.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008582/0.346, allocations: 370.3 kB / 416 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.807e-05/0.3461, allocations: 18.72 kB / 416 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.279e-05/0.3461, allocations: 45.41 kB / 416.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.966e-06/0.3461, allocations: 0 / 416.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.005188/0.3513, allocations: 1.494 MB / 417.6 MB, free: 12.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005183/0.3518, allocations: 0.8234 MB / 418.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009112/0.3527, allocations: 0.6294 MB / 419 MB, free: 11.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001253/0.3529, allocations: 46.02 kB / 419.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/0.3532, allocations: 339.2 kB / 419.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/0.3535, allocations: 267.2 kB / 419.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002528/0.3537, allocations: 142.2 kB / 419.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002425/0.354, allocations: 387.8 kB / 420.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006717/0.3546, allocations: 271.7 kB / 420.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.3556, allocations: 0.5512 MB / 421 MB, free: 9.789 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.3571, allocations: 0.6847 MB / 421.7 MB, free: 9.379 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3571, allocations: 0 / 421.7 MB, free: 9.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002904/0.36, allocations: 1.086 MB / 422.8 MB, free: 8.758 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.041e-05/0.3601, allocations: 91.12 kB / 422.8 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3601, allocations: 1.125 kB / 422.8 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007723/0.3609, allocations: 231.5 kB / 423.1 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006741/0.3615, allocations: 144.5 kB / 423.2 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008867/0.3704, allocations: 6.519 MB / 429.7 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.3716, allocations: 107.4 kB / 429.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.042e-05/0.3717, allocations: 20 kB / 429.9 MB, free: 1.863 MB / 334.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.0004444/0.3721, allocations: 229.7 kB / 430.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.3723, allocations: 87.48 kB / 430.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001921/0.3725, allocations: 95.33 kB / 430.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.3725, allocations: 8 kB / 430.3 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.3725, allocations: 0 / 430.3 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002583/0.3751, allocations: 1.229 MB / 431.5 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004189/0.3793, allocations: 1.888 MB / 433.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3793, allocations: 0 / 433.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007228/0.38, allocations: 139.8 kB / 433.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000572/0.3806, allocations: 206.6 kB / 433.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.832e-05/0.3806, allocations: 20 kB / 433.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007157/0.3878, allocations: 5.04 MB / 438.8 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.3878, allocations: 0 / 438.8 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003723/0.3915, allocations: 1.392 MB / 440.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006073/0.3921, allocations: 159.3 kB / 440.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002264/0.3924, allocations: 24 kB / 440.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007366/0.3931, allocations: 51.94 kB / 440.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/0.3933, allocations: 64.53 kB / 440.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/0.3933, allocations: 16 kB / 440.5 MB, free: 6.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006986/0.394, allocations: 459 kB / 440.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.394, allocations: 0 / 440.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001159/0.3952, allocations: 283.7 kB / 441.2 MB, free: 5.945 MB / 350.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.0002135/0.3954, allocations: 127.1 kB / 441.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002568/0.398, allocations: 1.313 MB / 442.6 MB, free: 4.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.398, allocations: 4 kB / 442.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001511/0.3995, allocations: 0.7418 MB / 443.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.4007, allocations: 246.8 kB / 443.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00336/0.4041, allocations: 1.646 MB / 445.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006888/0.4048, allocations: 0.94 MB / 446.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/0.4051, allocations: 75.36 kB / 446.3 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4051, allocations: 0 / 446.3 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of Templates: time 0.0325/0.4376, allocations: 22.67 MB / 469 MB, free: 9.914 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 9.960522504989058]