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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=2000,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=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 108.3 kB / 18.4 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 184.2 kB / 19.33 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 43.94 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09992/0.1013, allocations: 46.61 MB / 375.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.2436/0.345, allocations: 5.028 MB / 380.8 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002991/0.348, allocations: 1.345 MB / 382.2 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004055/0.3485, allocations: 12.19 kB / 382.2 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004861/0.349, allocations: 164.8 kB / 382.3 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007296/0.3498, allocations: 320.2 kB / 382.7 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005878/0.3504, allocations: 228.6 kB / 382.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001609/0.352, allocations: 1.181 MB / 384.1 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006431/0.3526, allocations: 313.9 kB / 384.4 MB, free: 9.051 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007662/0.3534, allocations: 460.4 kB / 384.8 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007615/0.3542, allocations: 0.5025 MB / 385.3 MB, free: 8.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001964/0.3544, allocations: 103.4 kB / 385.4 MB, free: 8.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.3547, allocations: 110.4 kB / 385.5 MB, free: 8.621 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002394/0.3549, allocations: 219.7 kB / 385.7 MB, free: 8.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005358/0.3555, allocations: 0.5203 MB / 386.3 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001489/0.357, allocations: 1.207 MB / 387.5 MB, free: 7.734 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.357, allocations: 0 / 387.5 MB, free: 7.734 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.357, allocations: 0 / 387.5 MB, free: 7.734 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.357, allocations: 0.75 kB / 387.5 MB, free: 7.734 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.002543/0.3595, allocations: 1.335 MB / 388.8 MB, free: 6.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.3596, allocations: 12.95 kB / 388.8 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002394/0.3599, allocations: 107.1 kB / 388.9 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.3609, allocations: 0.5895 MB / 389.5 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001924/0.3611, allocations: 145.4 kB / 389.7 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.3613, allocations: 58.72 kB / 389.7 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.3628, allocations: 0.8462 MB / 390.6 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.3628, allocations: 5.688 kB / 390.6 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.078e-05/0.3629, allocations: 28.62 kB / 390.6 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.3629, allocations: 12.88 kB / 390.6 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.3644, allocations: 0.6013 MB / 391.2 MB, free: 5.469 MB / 318.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.003394/0.3678, allocations: 2.051 MB / 393.3 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/0.3693, allocations: 0.851 MB / 394.1 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008825/0.3702, allocations: 400.1 kB / 394.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.814e-05/0.3703, allocations: 13.56 kB / 394.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.3703, allocations: 46.97 kB / 394.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 2.534e-06/0.3703, allocations: 0 / 394.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.0054/0.3757, allocations: 1.8 MB / 396.4 MB, free: 2.723 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002511/0.376, allocations: 0.8223 MB / 397.2 MB, free: 1.719 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009288/0.3769, allocations: 0.6337 MB / 397.8 MB, free: 1.434 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.17e-05/0.377, allocations: 45.14 kB / 397.9 MB, free: 1.391 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.3773, allocations: 334.6 kB / 398.2 MB, free: 1.133 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000201/0.3775, allocations: 254 kB / 398.4 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.3777, allocations: 145.1 kB / 398.6 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3779, allocations: 388.7 kB / 399 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006976/0.3786, allocations: 272.3 kB / 399.2 MB, free: 436 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008736/0.3795, allocations: 0.5528 MB / 399.8 MB, free: 20 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.3809, allocations: 0.6827 MB / 400.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3809, allocations: 0 / 400.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002737/0.3837, allocations: 1.094 MB / 401.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.567e-05/0.3838, allocations: 87.64 kB / 401.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3838, allocations: 0 / 401.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007035/0.3845, allocations: 231.2 kB / 401.9 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006456/0.3851, allocations: 145.2 kB / 402 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008868/0.394, allocations: 6.93 MB / 408.9 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.3953, allocations: 103.4 kB / 409 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.069e-05/0.3954, allocations: 24.83 kB / 409.1 MB, free: 8.449 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.0004616/0.3959, allocations: 224.2 kB / 409.3 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/0.3962, allocations: 89.38 kB / 409.4 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.3963, allocations: 89.28 kB / 409.5 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.3964, allocations: 7.312 kB / 409.5 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.3964, allocations: 0.875 kB / 409.5 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002548/0.3989, allocations: 1.235 MB / 410.7 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004333/0.4033, allocations: 1.92 MB / 412.6 MB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.4033, allocations: 1.062 kB / 412.6 MB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000694/0.404, allocations: 140.8 kB / 412.8 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000565/0.4046, allocations: 199.3 kB / 413 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.864e-05/0.4046, allocations: 20.73 kB / 413 MB, free: 5.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006707/0.4113, allocations: 5.346 MB / 418.3 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4114, allocations: 0 / 418.3 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003525/0.4149, allocations: 1.398 MB / 419.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005885/0.4155, allocations: 245.1 kB / 420 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.4156, allocations: 18.69 kB / 420 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006601/0.4163, allocations: 46.23 kB / 420 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/0.4165, allocations: 64.09 kB / 420.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/0.4166, allocations: 14.88 kB / 420.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007063/0.4173, allocations: 457.2 kB / 420.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4173, allocations: 0 / 420.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00111/0.4184, allocations: 281.1 kB / 420.8 MB, free: 15.34 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.0002169/0.4186, allocations: 129.5 kB / 420.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002612/0.4213, allocations: 1.354 MB / 422.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/0.4213, allocations: 2.75 kB / 422.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001641/0.4229, allocations: 0.7645 MB / 423.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.4241, allocations: 249.9 kB / 423.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.427, allocations: 1.633 MB / 424.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/0.4275, allocations: 0.9401 MB / 425.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.4277, allocations: 67.44 kB / 425.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4277, allocations: 0 / 425.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of Templates: time 0.02763/0.4553, allocations: 22.61 MB / 448.6 MB, free: 4.027 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (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) 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) Reference file matches