Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00155/0.00155, allocations: 166.8 kB / 16.72 MB, free: 4.965 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007804/0.0007805, allocations: 94 kB / 271.2 MB, free: 8.227 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003321, allocations: 12 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2867, allocations: 47.58 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.004952/0.2917, allocations: 4.387 MB / 379.5 MB, free: 41.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003034/0.2948, allocations: 1.234 MB / 380.7 MB, free: 40.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004789/0.2953, allocations: 15.75 kB / 380.7 MB, free: 40.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000366/0.2957, allocations: 103.4 kB / 380.8 MB, free: 40.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006763/0.2964, allocations: 282.9 kB / 381.1 MB, free: 40.58 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.2968, allocations: 175.9 kB / 381.3 MB, free: 40.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001382/0.2982, allocations: 1.074 MB / 382.3 MB, free: 39.78 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005422/0.2988, allocations: 287.7 kB / 382.6 MB, free: 39.6 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006309/0.2994, allocations: 403.4 kB / 383 MB, free: 39.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005377/0.2999, allocations: 458.8 kB / 383.5 MB, free: 39.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001361/0.3001, allocations: 65.78 kB / 383.5 MB, free: 39.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.3003, allocations: 70.72 kB / 383.6 MB, free: 39.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.3004, allocations: 180.4 kB / 383.8 MB, free: 38.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005169/0.301, allocations: 490 kB / 384.3 MB, free: 38.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007725/0.3017, allocations: 0.8745 MB / 385.1 MB, free: 37.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3017, allocations: 4 kB / 385.1 MB, free: 37.94 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.3018, allocations: 0 / 385.1 MB, free: 37.94 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.3018, allocations: 1.188 kB / 385.1 MB, free: 37.94 MB / 298.7 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.002308/0.3041, allocations: 1.198 MB / 386.3 MB, free: 36.99 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.3042, allocations: 8.656 kB / 386.3 MB, free: 36.99 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002241/0.3044, allocations: 110.7 kB / 386.4 MB, free: 36.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000904/0.3053, allocations: 0.5867 MB / 387 MB, free: 36.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003274/0.3056, allocations: 177.7 kB / 387.2 MB, free: 36.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.3058, allocations: 61.72 kB / 387.3 MB, free: 36.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.3071, allocations: 0.8703 MB / 388.1 MB, free: 35.37 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.3071, allocations: 8 kB / 388.1 MB, free: 35.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.304e-05/0.3072, allocations: 24 kB / 388.2 MB, free: 35.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.3072, allocations: 16 kB / 388.2 MB, free: 35.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.3085, allocations: 0.6571 MB / 388.8 MB, free: 34.66 MB / 298.7 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.002956/0.3115, allocations: 2.084 MB / 390.9 MB, free: 32.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.3128, allocations: 0.8897 MB / 391.8 MB, free: 31.53 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008004/0.3136, allocations: 436.2 kB / 392.2 MB, free: 31.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.383e-05/0.3137, allocations: 12.64 kB / 392.3 MB, free: 31.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.3137, allocations: 43.22 kB / 392.3 MB, free: 31.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 3.817e-06/0.3137, allocations: 4 kB / 392.3 MB, free: 31.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.0048/0.3185, allocations: 1.992 MB / 394.3 MB, free: 28.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001772/0.3187, allocations: 0.8234 MB / 395.1 MB, free: 27.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006396/0.3194, allocations: 0.6254 MB / 395.7 MB, free: 27.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.255e-05/0.3194, allocations: 41.7 kB / 395.8 MB, free: 27.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.3196, allocations: 337 kB / 396.1 MB, free: 26.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.3198, allocations: 252.2 kB / 396.4 MB, free: 26.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.3199, allocations: 16 kB / 396.4 MB, free: 26.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.32, allocations: 382.8 kB / 396.7 MB, free: 26.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006155/0.3206, allocations: 309.8 kB / 397 MB, free: 25.97 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000769/0.3214, allocations: 0.5741 MB / 397.6 MB, free: 25.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.3226, allocations: 0.748 MB / 398.4 MB, free: 24.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3227, allocations: 0 / 398.4 MB, free: 24.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002474/0.3251, allocations: 1.192 MB / 399.6 MB, free: 23.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.925e-05/0.3252, allocations: 85.09 kB / 399.6 MB, free: 23.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.3252, allocations: 0 / 399.6 MB, free: 23.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006781/0.3259, allocations: 251.3 kB / 399.9 MB, free: 22.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006055/0.3265, allocations: 155.8 kB / 400 MB, free: 22.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00584/0.3324, allocations: 6.491 MB / 406.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.3336, allocations: 123.3 kB / 406.7 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.514e-05/0.3337, allocations: 27.98 kB / 406.7 MB, free: 15.6 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003632/0.334, allocations: 221.7 kB / 406.9 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.3342, allocations: 87.05 kB / 407 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.3344, allocations: 91.28 kB / 407.1 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.3344, allocations: 8 kB / 407.1 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.3344, allocations: 3.938 kB / 407.1 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002249/0.3366, allocations: 1.343 MB / 408.4 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003529/0.3402, allocations: 2.031 MB / 410.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.3402, allocations: 0 / 410.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006544/0.3409, allocations: 147.8 kB / 410.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004923/0.3414, allocations: 218.3 kB / 410.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.276e-05/0.3414, allocations: 12 kB / 410.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00518/0.3466, allocations: 5.059 MB / 415.9 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3467, allocations: 4.031 kB / 415.9 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003307/0.35, allocations: 1.511 MB / 417.4 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005118/0.3505, allocations: 247.8 kB / 417.6 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.3506, allocations: 20 kB / 417.7 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006333/0.3513, allocations: 64.08 kB / 417.7 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001818/0.3515, allocations: 64.55 kB / 417.8 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.175e-05/0.3515, allocations: 20 kB / 417.8 MB, free: 3.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004749/0.352, allocations: 459 kB / 418.3 MB, free: 3.379 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.352, allocations: 0 / 418.3 MB, free: 3.379 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008305/0.3528, allocations: 279.7 kB / 418.5 MB, free: 3.105 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000163/0.353, allocations: 119.1 kB / 418.6 MB, free: 2.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002093/0.3551, allocations: 1.403 MB / 420 MB, free: 1.488 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.3551, allocations: 4 kB / 420.1 MB, free: 1.484 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.3564, allocations: 0.8198 MB / 420.9 MB, free: 0.625 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.3575, allocations: 230 kB / 421.1 MB, free: 412 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.3605, allocations: 1.944 MB / 423 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/0.3611, allocations: 0.9401 MB / 424 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.3613, allocations: 63.44 kB / 424 MB, free: 13.39 MB / 314.7 MB Notification: Performance of SimCode: time 1.212e-06/0.3613, allocations: 4 kB / 424 MB, free: 13.39 MB / 314.7 MB Notification: Performance of Templates: time 0.02672/0.3881, allocations: 22.45 MB / 446.5 MB, free: 6.891 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches