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.001369/0.001369, allocations: 107.6 kB / 21.18 MB, free: 452 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.001457/0.001457, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.565/1.565, allocations: 207.7 MB / 235.3 MB, free: 9.793 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.001899/0.001899, allocations: 54.58 kB / 347.7 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2997, allocations: 49.16 MB / 396.8 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005809/0.3055, allocations: 4.504 MB / 401.3 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002583/0.308, allocations: 1.302 MB / 402.6 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003492/0.3084, allocations: 12.03 kB / 402.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004711/0.3089, allocations: 159.2 kB / 402.8 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006885/0.3096, allocations: 333.7 kB / 403.1 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004668/0.31, allocations: 228.7 kB / 403.4 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001174/0.3112, allocations: 1.183 MB / 404.5 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000401/0.3116, allocations: 208.2 kB / 404.7 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007186/0.3123, allocations: 464.8 kB / 405.2 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006972/0.313, allocations: 446.6 kB / 405.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.3132, allocations: 102.9 kB / 405.7 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.3134, allocations: 105.3 kB / 405.8 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.3136, allocations: 221.3 kB / 406.1 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004286/0.314, allocations: 449.6 kB / 406.5 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.3153, allocations: 1.215 MB / 407.7 MB, free: 2.977 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3153, allocations: 0.6094 kB / 407.7 MB, free: 2.977 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3153, allocations: 3.938 kB / 407.7 MB, free: 2.973 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.901e-05/0.3153, allocations: 4 kB / 407.7 MB, free: 2.969 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.002497/0.3178, allocations: 1.292 MB / 409 MB, free: 2.109 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.3178, allocations: 13.58 kB / 409 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.318, allocations: 114.7 kB / 409.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009486/0.319, allocations: 0.539 MB / 409.7 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/0.3192, allocations: 298.1 kB / 410 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.904e-05/0.3193, allocations: 57.97 kB / 410 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.3208, allocations: 1.612 MB / 411.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.3208, allocations: 1.031 kB / 411.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-05/0.3209, allocations: 23.66 kB / 411.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.3209, allocations: 13.22 kB / 411.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.3224, allocations: 0.5977 MB / 412.3 MB, free: 15.39 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.003223/0.3256, allocations: 1.523 MB / 413.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.3268, allocations: 0.5799 MB / 414.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000806/0.3277, allocations: 366.7 kB / 414.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.774e-05/0.3277, allocations: 10.31 kB / 414.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.3278, allocations: 50.17 kB / 414.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.084e-06/0.3278, allocations: 0 / 414.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004945/0.3327, allocations: 1.49 MB / 416.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000458/0.3332, allocations: 0.8243 MB / 417.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008043/0.334, allocations: 0.6016 MB / 417.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.086e-05/0.334, allocations: 41.3 kB / 417.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003045/0.3344, allocations: 344 kB / 418.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/0.3346, allocations: 268 kB / 418.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/0.3348, allocations: 146 kB / 418.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002261/0.3351, allocations: 383.6 kB / 418.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007093/0.3358, allocations: 352.6 kB / 419.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/0.3371, allocations: 1.395 MB / 420.6 MB, free: 8.945 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.3385, allocations: 0.6779 MB / 421.3 MB, free: 8.543 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3385, allocations: 0 / 421.3 MB, free: 8.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00275/0.3413, allocations: 1.17 MB / 422.5 MB, free: 7.824 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.189e-05/0.3414, allocations: 87.95 kB / 422.5 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3414, allocations: 0 / 422.5 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007038/0.3421, allocations: 235.8 kB / 422.8 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006203/0.3427, allocations: 145 kB / 422.9 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008056/0.3508, allocations: 6.377 MB / 429.3 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009602/0.3517, allocations: 95.73 kB / 429.4 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-05/0.3518, allocations: 24 kB / 429.4 MB, free: 1.051 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.0003992/0.3522, allocations: 225.7 kB / 429.6 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.3523, allocations: 91.66 kB / 429.7 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/0.3525, allocations: 91.19 kB / 429.8 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3525, allocations: 4 kB / 429.8 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.3525, allocations: 12 kB / 429.8 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002559/0.3551, allocations: 1.225 MB / 431 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003836/0.3589, allocations: 1.662 MB / 432.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.3589, allocations: 0 / 432.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007255/0.3597, allocations: 143.8 kB / 432.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006006/0.3603, allocations: 198.4 kB / 433 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-05/0.3603, allocations: 19.98 kB / 433.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006934/0.3673, allocations: 4.94 MB / 438 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3673, allocations: 0 / 438 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00359/0.3708, allocations: 1.388 MB / 439.4 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005143/0.3714, allocations: 163.3 kB / 439.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.3715, allocations: 20 kB / 439.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006552/0.3721, allocations: 51.89 kB / 439.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.3723, allocations: 64.53 kB / 439.7 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-05/0.3724, allocations: 20 kB / 439.7 MB, free: 6.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006069/0.373, allocations: 443 kB / 440.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.373, allocations: 0 / 440.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009377/0.3739, allocations: 275.8 kB / 440.4 MB, free: 5.535 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.0001827/0.3741, allocations: 115.2 kB / 440.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002453/0.3765, allocations: 1.396 MB / 441.9 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.3765, allocations: 4 kB / 441.9 MB, free: 3.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001404/0.378, allocations: 0.7457 MB / 442.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.379, allocations: 238.9 kB / 442.9 MB, free: 2.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.3819, allocations: 1.617 MB / 444.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.3823, allocations: 345.7 kB / 444.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004376/0.3827, allocations: 102.2 kB / 444.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.3829, allocations: 63.44 kB / 445 MB, free: 0.707 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3829, allocations: 0 / 445 MB, free: 0.707 MB / 350.1 MB Notification: Performance of Templates: time 0.03265/0.4155, allocations: 20.3 MB / 465.3 MB, free: 12.36 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins/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: 5.687132582068443]