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.001141/0.001141, allocations: 110.5 kB / 17.73 MB, free: 5.324 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.001027/0.001027, allocations: 187 kB / 18.66 MB, free: 4.395 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.535/1.535, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001478/0.001479, allocations: 51.92 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.106, allocations: 46.62 MB / 375.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.2027/0.3087, allocations: 5.021 MB / 380.2 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00296/0.3117, allocations: 1.348 MB / 381.5 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004603/0.3122, allocations: 8.25 kB / 381.5 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004666/0.3127, allocations: 164.2 kB / 381.7 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007885/0.3135, allocations: 338.8 kB / 382 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005727/0.3141, allocations: 224.2 kB / 382.2 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001454/0.3155, allocations: 1.185 MB / 383.4 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00053/0.3161, allocations: 312.4 kB / 383.7 MB, free: 9.062 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006199/0.3167, allocations: 458.4 kB / 384.2 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006394/0.3174, allocations: 0.5019 MB / 384.7 MB, free: 8.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001842/0.3175, allocations: 103.2 kB / 384.8 MB, free: 8.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.3178, allocations: 109.6 kB / 384.9 MB, free: 8.621 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.3179, allocations: 226.9 kB / 385.1 MB, free: 8.477 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004869/0.3184, allocations: 0.5178 MB / 385.6 MB, free: 8.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.3196, allocations: 1.206 MB / 386.8 MB, free: 7.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3196, allocations: 1.312 kB / 386.8 MB, free: 7.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3196, allocations: 0 / 386.8 MB, free: 7.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.3197, allocations: 0 / 386.8 MB, free: 7.73 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.002284/0.3219, allocations: 1.339 MB / 388.2 MB, free: 6.809 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.322, allocations: 14.39 kB / 388.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.3222, allocations: 106 kB / 388.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009582/0.3232, allocations: 0.5946 MB / 388.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/0.3234, allocations: 141.5 kB / 389 MB, free: 6.223 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.944e-05/0.3235, allocations: 57.88 kB / 389.1 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.3249, allocations: 0.8462 MB / 389.9 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.3249, allocations: 3.906 kB / 389.9 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-05/0.325, allocations: 30.75 kB / 389.9 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.325, allocations: 12.94 kB / 390 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.3264, allocations: 0.6012 MB / 390.6 MB, free: 5.461 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.003191/0.3296, allocations: 2.051 MB / 392.6 MB, free: 4.273 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.3309, allocations: 0.8492 MB / 393.5 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008118/0.3317, allocations: 395.9 kB / 393.8 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.353e-05/0.3318, allocations: 15.39 kB / 393.9 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.3318, allocations: 49.41 kB / 393.9 MB, free: 3.559 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 2.264e-06/0.3318, allocations: 1.594 kB / 393.9 MB, free: 3.559 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.004938/0.3367, allocations: 1.801 MB / 395.7 MB, free: 2.715 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001613/0.3369, allocations: 0.8222 MB / 396.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009003/0.3378, allocations: 0.634 MB / 397.2 MB, free: 1.426 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.368e-05/0.3379, allocations: 45.52 kB / 397.2 MB, free: 1.383 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.3381, allocations: 327.2 kB / 397.5 MB, free: 1.129 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.3383, allocations: 259.8 kB / 397.8 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/0.3385, allocations: 143.5 kB / 397.9 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3387, allocations: 393.1 kB / 398.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006293/0.3393, allocations: 272.6 kB / 398.6 MB, free: 428 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007846/0.3401, allocations: 0.55 MB / 399.1 MB, free: 12 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.3415, allocations: 0.6842 MB / 399.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3415, allocations: 0.9375 kB / 399.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002552/0.3441, allocations: 1.092 MB / 400.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.479e-05/0.3441, allocations: 86.06 kB / 401 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.3442, allocations: 1.656 kB / 401 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007198/0.3449, allocations: 232.8 kB / 401.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006417/0.3455, allocations: 145.8 kB / 401.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007812/0.3534, allocations: 6.924 MB / 408.3 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.3546, allocations: 103 kB / 408.4 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.492e-05/0.3547, allocations: 24.27 kB / 408.4 MB, free: 8.434 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.0004889/0.3552, allocations: 224.6 kB / 408.6 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.3554, allocations: 88.28 kB / 408.7 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.3556, allocations: 90.84 kB / 408.8 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.3556, allocations: 6.562 kB / 408.8 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.3556, allocations: 0 / 408.8 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002482/0.3581, allocations: 1.24 MB / 410 MB, free: 7.191 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003977/0.3621, allocations: 1.915 MB / 412 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3621, allocations: 1.125 kB / 412 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006734/0.3628, allocations: 145.8 kB / 412.1 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005309/0.3633, allocations: 202.7 kB / 412.3 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.8e-05/0.3634, allocations: 12.69 kB / 412.3 MB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00675/0.3701, allocations: 5.344 MB / 417.7 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3702, allocations: 0 / 417.7 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003516/0.3737, allocations: 1.392 MB / 419.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006275/0.3743, allocations: 245.2 kB / 419.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.3745, allocations: 19.12 kB / 419.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006469/0.3751, allocations: 47.73 kB / 419.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/0.3753, allocations: 63.38 kB / 419.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/0.3754, allocations: 20.94 kB / 419.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005967/0.376, allocations: 455.8 kB / 419.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.376, allocations: 1.5 kB / 419.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009475/0.3769, allocations: 284.2 kB / 420.2 MB, free: 15.3 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.0002014/0.3771, allocations: 121.2 kB / 420.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002483/0.3796, allocations: 1.355 MB / 421.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.3797, allocations: 2.781 kB / 421.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00139/0.3811, allocations: 0.7675 MB / 422.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.3821, allocations: 251.5 kB / 422.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.3849, allocations: 1.596 MB / 424.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000558/0.3855, allocations: 0.9401 MB / 425.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004051/0.3859, allocations: 102.4 kB / 425.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.3861, allocations: 71.42 kB / 425.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3861, allocations: 0 / 425.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of Templates: time 0.02826/0.4143, allocations: 18.58 MB / 443.9 MB, free: 7.988 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