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.001084/0.001084, allocations: 113.4 kB / 17.73 MB, free: 5.359 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.001134/0.001134, allocations: 180.1 kB / 18.66 MB, free: 4.441 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.435/1.435, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001184/0.001184, allocations: 59.92 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1259, allocations: 46.61 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.2351/0.3611, allocations: 5.015 MB / 380.2 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002484/0.3637, allocations: 1.352 MB / 381.5 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003651/0.364, allocations: 7.969 kB / 381.5 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004181/0.3645, allocations: 166.1 kB / 381.7 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006174/0.3651, allocations: 323.9 kB / 382 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005962/0.3657, allocations: 225 kB / 382.2 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001522/0.3673, allocations: 1.18 MB / 383.4 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006077/0.3679, allocations: 313.8 kB / 383.7 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008202/0.3687, allocations: 459.3 kB / 384.1 MB, free: 8.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007033/0.3694, allocations: 0.5061 MB / 384.7 MB, free: 8.605 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001736/0.3696, allocations: 102.8 kB / 384.8 MB, free: 8.605 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.3698, allocations: 106.3 kB / 384.9 MB, free: 8.605 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.37, allocations: 228.6 kB / 385.1 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004134/0.3704, allocations: 0.52 MB / 385.6 MB, free: 8.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.3716, allocations: 1.2 MB / 386.8 MB, free: 7.719 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3716, allocations: 0 / 386.8 MB, free: 7.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3716, allocations: 0 / 386.8 MB, free: 7.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.645e-05/0.3716, allocations: 0 / 386.8 MB, free: 7.719 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.002437/0.3741, allocations: 1.339 MB / 388.1 MB, free: 6.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3741, allocations: 12.83 kB / 388.2 MB, free: 6.793 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.3743, allocations: 106.8 kB / 388.3 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.3757, allocations: 0.5965 MB / 388.9 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002373/0.376, allocations: 139 kB / 389 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.3761, allocations: 62.97 kB / 389 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.3781, allocations: 0.843 MB / 389.9 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/0.3781, allocations: 11.89 kB / 389.9 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.3782, allocations: 24.12 kB / 389.9 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/0.3783, allocations: 12.97 kB / 389.9 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.3804, allocations: 0.6009 MB / 390.5 MB, free: 5.445 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.004704/0.3851, allocations: 2.052 MB / 392.6 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.3869, allocations: 0.848 MB / 393.4 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.388, allocations: 399.2 kB / 393.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.481e-05/0.3881, allocations: 16.38 kB / 393.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.3882, allocations: 51.23 kB / 393.9 MB, free: 3.539 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 4.097e-06/0.3882, allocations: 1.125 kB / 393.9 MB, free: 3.539 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.007687/0.3959, allocations: 1.797 MB / 395.7 MB, free: 2.699 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003381/0.3963, allocations: 0.8237 MB / 396.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.3977, allocations: 0.6335 MB / 397.2 MB, free: 1.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001761/0.3979, allocations: 41.48 kB / 397.2 MB, free: 1.371 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002877/0.3982, allocations: 332.5 kB / 397.5 MB, free: 1.113 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002844/0.3985, allocations: 257.4 kB / 397.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003648/0.3989, allocations: 146 kB / 397.9 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.3991, allocations: 384.9 kB / 398.3 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000968/0.4, allocations: 272.8 kB / 398.6 MB, free: 416 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.4013, allocations: 0.5493 MB / 399.1 MB, free: 0 / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001952/0.4033, allocations: 0.6882 MB / 399.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.4033, allocations: 3.938 kB / 399.8 MB, free: 15.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002987/0.4063, allocations: 1.091 MB / 400.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/0.4064, allocations: 87.98 kB / 401 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.4064, allocations: 5.375 kB / 401 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007254/0.4071, allocations: 237.9 kB / 401.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006413/0.4078, allocations: 136.3 kB / 401.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/0.4189, allocations: 6.916 MB / 408.3 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.4206, allocations: 107.2 kB / 408.4 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/0.4208, allocations: 29.3 kB / 408.4 MB, free: 8.43 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.0007535/0.4216, allocations: 220.7 kB / 408.6 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000428/0.422, allocations: 88.44 kB / 408.7 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.4223, allocations: 88.75 kB / 408.8 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.4224, allocations: 12.23 kB / 408.8 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/0.4224, allocations: 0 / 408.8 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003603/0.426, allocations: 1.235 MB / 410 MB, free: 7.191 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006114/0.4321, allocations: 1.925 MB / 412 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.4322, allocations: 0 / 412 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.4332, allocations: 144.3 kB / 412.1 MB, free: 5.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008033/0.434, allocations: 200.6 kB / 412.3 MB, free: 5.746 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.97e-05/0.4341, allocations: 12.81 kB / 412.3 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00924/0.4434, allocations: 5.339 MB / 417.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4434, allocations: 0 / 417.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003747/0.4472, allocations: 1.398 MB / 419 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000484/0.4477, allocations: 241.7 kB / 419.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.4478, allocations: 13.84 kB / 419.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008705/0.4487, allocations: 52.62 kB / 419.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/0.4489, allocations: 68.3 kB / 419.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.2e-05/0.4489, allocations: 23.64 kB / 419.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006453/0.4496, allocations: 452.6 kB / 419.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4496, allocations: 4 kB / 419.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001025/0.4506, allocations: 281.5 kB / 420.2 MB, free: 15.29 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.0001823/0.4508, allocations: 117.6 kB / 420.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002392/0.4532, allocations: 1.357 MB / 421.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.353e-06/0.4532, allocations: 1.375 kB / 421.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001422/0.4547, allocations: 0.7708 MB / 422.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.4558, allocations: 248.6 kB / 422.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.4587, allocations: 1.587 MB / 424.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005279/0.4592, allocations: 0.9401 MB / 425.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004159/0.4596, allocations: 106.4 kB / 425.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.4598, allocations: 67.42 kB / 425.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of SimCode: time 6.32e-07/0.4598, allocations: 0 / 425.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of Templates: time 0.03244/0.4923, allocations: 18.58 MB / 443.9 MB, free: 8.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/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) Reference file matches