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.001222/0.001222, allocations: 109.3 kB / 18.37 MB, free: 4.574 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.00127/0.00127, allocations: 187 kB / 19.3 MB, free: 3.652 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.421/1.421, allocations: 205.1 MB / 225.2 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.001203/0.001203, allocations: 55.92 kB / 329.1 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09949/0.1007, allocations: 46.63 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.2157/0.3164, allocations: 5.012 MB / 380.8 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002545/0.319, allocations: 1.349 MB / 382.1 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004657/0.3195, allocations: 8.156 kB / 382.1 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004795/0.32, allocations: 163.3 kB / 382.3 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007661/0.3208, allocations: 331.3 kB / 382.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006467/0.3215, allocations: 222.9 kB / 382.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001532/0.323, allocations: 1.175 MB / 384 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006075/0.3236, allocations: 315.7 kB / 384.3 MB, free: 9.031 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008087/0.3245, allocations: 459.2 kB / 384.8 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006501/0.3251, allocations: 0.5014 MB / 385.3 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.3253, allocations: 107.8 kB / 385.4 MB, free: 8.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.3255, allocations: 104.6 kB / 385.5 MB, free: 8.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.3257, allocations: 225.3 kB / 385.7 MB, free: 8.449 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000542/0.3263, allocations: 0.5192 MB / 386.2 MB, free: 8.148 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.3277, allocations: 1.201 MB / 387.4 MB, free: 7.707 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3277, allocations: 0 / 387.4 MB, free: 7.707 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3278, allocations: 0 / 387.4 MB, free: 7.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.3278, allocations: 1.75 kB / 387.4 MB, free: 7.707 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.002629/0.3304, allocations: 1.338 MB / 388.8 MB, free: 6.785 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.3305, allocations: 14.36 kB / 388.8 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002261/0.3307, allocations: 106.1 kB / 388.9 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.3318, allocations: 0.5915 MB / 389.5 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/0.332, allocations: 141.5 kB / 389.6 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.3321, allocations: 58.48 kB / 389.7 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.3337, allocations: 0.8457 MB / 390.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.3338, allocations: 5.031 kB / 390.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.961e-05/0.3339, allocations: 28.16 kB / 390.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.3339, allocations: 16.67 kB / 390.6 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.3353, allocations: 0.5972 MB / 391.2 MB, free: 5.441 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.003671/0.339, allocations: 2.059 MB / 393.2 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.3404, allocations: 0.8486 MB / 394.1 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008362/0.3412, allocations: 397.3 kB / 394.5 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.152e-05/0.3413, allocations: 14 kB / 394.5 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.3414, allocations: 51.02 kB / 394.5 MB, free: 3.531 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 3.056e-06/0.3414, allocations: 0 / 394.5 MB, free: 3.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.005321/0.3467, allocations: 1.795 MB / 396.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001997/0.3469, allocations: 0.8222 MB / 397.1 MB, free: 1.691 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009642/0.3479, allocations: 0.6354 MB / 397.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001345/0.348, allocations: 44.3 kB / 397.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.3483, allocations: 327 kB / 398.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000213/0.3485, allocations: 263.7 kB / 398.4 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/0.3487, allocations: 145.5 kB / 398.5 MB, free: 0.832 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3489, allocations: 390.7 kB / 398.9 MB, free: 496 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006867/0.3496, allocations: 270.6 kB / 399.2 MB, free: 404 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000882/0.3505, allocations: 0.5524 MB / 399.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.3519, allocations: 0.6777 MB / 400.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3519, allocations: 1.375 kB / 400.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002874/0.3548, allocations: 1.093 MB / 401.5 MB, free: 15.15 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.325e-05/0.3548, allocations: 87.98 kB / 401.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.3549, allocations: 1.375 kB / 401.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007141/0.3556, allocations: 241.3 kB / 401.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006432/0.3562, allocations: 135.8 kB / 402 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008251/0.3645, allocations: 6.928 MB / 408.9 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.3658, allocations: 102 kB / 409 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.745e-05/0.3659, allocations: 26.38 kB / 409 MB, free: 8.426 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.0004586/0.3664, allocations: 224 kB / 409.2 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/0.3666, allocations: 88.12 kB / 409.3 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.3668, allocations: 89.53 kB / 409.4 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.3668, allocations: 7.719 kB / 409.4 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.3668, allocations: 0 / 409.4 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002609/0.3694, allocations: 1.239 MB / 410.6 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004294/0.3737, allocations: 1.918 MB / 412.6 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3738, allocations: 7.938 kB / 412.6 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006888/0.3745, allocations: 137.7 kB / 412.7 MB, free: 5.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005494/0.375, allocations: 199.6 kB / 412.9 MB, free: 5.746 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.342e-05/0.3751, allocations: 15.42 kB / 412.9 MB, free: 5.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006754/0.3819, allocations: 5.342 MB / 418.3 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3819, allocations: 0 / 418.3 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003586/0.3855, allocations: 1.396 MB / 419.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006526/0.3862, allocations: 244.2 kB / 419.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.3863, allocations: 20.25 kB / 419.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006859/0.387, allocations: 48.27 kB / 420 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/0.3872, allocations: 63.56 kB / 420 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.839e-05/0.3873, allocations: 15.34 kB / 420 MB, free: 15.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006097/0.3879, allocations: 461 kB / 420.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3879, allocations: 0 / 420.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00114/0.389, allocations: 281.3 kB / 420.8 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.0002063/0.3893, allocations: 122.5 kB / 420.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002442/0.3917, allocations: 1.361 MB / 422.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.3917, allocations: 1.375 kB / 422.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001442/0.3932, allocations: 0.7659 MB / 423 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.001244/0.3945, allocations: 244.6 kB / 423.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.3974, allocations: 1.628 MB / 424.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.3979, allocations: 0.9401 MB / 425.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.3982, allocations: 75.42 kB / 425.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3982, allocations: 0 / 425.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Templates: time 0.02695/0.4252, allocations: 22.52 MB / 448.4 MB, free: 4.09 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