Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001073, allocations: 171.8 kB / 16.72 MB, free: 5.055 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.478/1.478, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0008096/0.0008097, allocations: 90.36 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003357, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.282, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003261/0.2853, allocations: 2.429 MB / 377.5 MB, free: 43.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.2871, allocations: 1.043 MB / 378.6 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001956/0.2873, allocations: 11.56 kB / 378.6 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004775/0.2878, allocations: 147.6 kB / 378.7 MB, free: 42.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004166/0.2882, allocations: 184.8 kB / 378.9 MB, free: 42.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.2886, allocations: 125.8 kB / 379 MB, free: 42.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000462/0.2891, allocations: 404.1 kB / 379.4 MB, free: 42.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.2893, allocations: 106.1 kB / 379.5 MB, free: 42.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.2895, allocations: 159.2 kB / 379.7 MB, free: 42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.2897, allocations: 188.4 kB / 379.8 MB, free: 41.88 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.955e-05/0.2898, allocations: 19.03 kB / 379.9 MB, free: 41.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.2899, allocations: 50.41 kB / 379.9 MB, free: 41.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.817e-05/0.29, allocations: 77.55 kB / 380 MB, free: 41.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.2902, allocations: 195.3 kB / 380.2 MB, free: 41.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003627/0.2906, allocations: 359.9 kB / 380.5 MB, free: 41.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.2906, allocations: 1.125 kB / 380.5 MB, free: 41.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.095e-06/0.2906, allocations: 0 / 380.5 MB, free: 41.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.2906, allocations: 3.938 kB / 380.5 MB, free: 41.42 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0008956/0.2915, allocations: 0.624 MB / 381.2 MB, free: 40.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.2916, allocations: 10.06 kB / 381.2 MB, free: 40.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.393e-05/0.2917, allocations: 43.34 kB / 381.2 MB, free: 40.83 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.292, allocations: 343.9 kB / 381.6 MB, free: 40.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.2921, allocations: 13.62 kB / 381.6 MB, free: 40.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.261e-05/0.2921, allocations: 28.3 kB / 381.6 MB, free: 40.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/0.2926, allocations: 288.1 kB / 381.9 MB, free: 40.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.2926, allocations: 0.8438 kB / 381.9 MB, free: 40.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.2926, allocations: 7.625 kB / 381.9 MB, free: 40.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.2927, allocations: 4.875 kB / 381.9 MB, free: 40.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.293, allocations: 149.5 kB / 382 MB, free: 40.18 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.001202/0.2942, allocations: 0.8281 MB / 382.9 MB, free: 39.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/0.2946, allocations: 192.5 kB / 383 MB, free: 39.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.2947, allocations: 73.84 kB / 383.1 MB, free: 39.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.2948, allocations: 11.84 kB / 383.1 MB, free: 39.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002736/0.295, allocations: 140.7 kB / 383.3 MB, free: 39.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.743e-06/0.2951, allocations: 0 / 383.3 MB, free: 39.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007791/0.2958, allocations: 403.5 kB / 383.7 MB, free: 38.94 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.33e-05/0.2959, allocations: 316.6 kB / 384 MB, free: 38.56 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004589/0.2964, allocations: 434.7 kB / 384.4 MB, free: 38.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.2964, allocations: 32.83 kB / 384.4 MB, free: 38.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.2966, allocations: 200.4 kB / 384.6 MB, free: 38.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.906e-05/0.2966, allocations: 77.25 kB / 384.7 MB, free: 38.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.155e-05/0.2967, allocations: 5.219 kB / 384.7 MB, free: 38.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.319e-05/0.2968, allocations: 349 kB / 385 MB, free: 37.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.2969, allocations: 58.94 kB / 385.1 MB, free: 37.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.2971, allocations: 174.7 kB / 385.3 MB, free: 37.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.2974, allocations: 177.6 kB / 385.4 MB, free: 37.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.2974, allocations: 3.938 kB / 385.5 MB, free: 37.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004422/0.2979, allocations: 273.2 kB / 385.7 MB, free: 37.22 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.2979, allocations: 9.875 kB / 385.7 MB, free: 37.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2979, allocations: 1.156 kB / 385.7 MB, free: 37.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001343/0.298, allocations: 32.97 kB / 385.8 MB, free: 37.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.2983, allocations: 53.22 kB / 385.8 MB, free: 37.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.2994, allocations: 1.452 MB / 387.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.2996, allocations: 37.09 kB / 387.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.2996, allocations: 14.72 kB / 387.3 MB, free: 35.7 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001675/0.2998, allocations: 162.7 kB / 387.5 MB, free: 35.56 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.2999, allocations: 40.53 kB / 387.5 MB, free: 35.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.231e-05/0.2999, allocations: 43.58 kB / 387.6 MB, free: 35.51 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.3, allocations: 3.188 kB / 387.6 MB, free: 35.51 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3, allocations: 0 / 387.6 MB, free: 35.51 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003906/0.3004, allocations: 0.5843 MB / 388.1 MB, free: 34.9 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007665/0.3011, allocations: 0.7039 MB / 388.8 MB, free: 34.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.3012, allocations: 0 / 388.8 MB, free: 34.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.3013, allocations: 47.91 kB / 388.9 MB, free: 34.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3014, allocations: 7.938 kB / 388.9 MB, free: 34.15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.3014, allocations: 4 kB / 388.9 MB, free: 34.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3014, allocations: 0 / 388.9 MB, free: 34.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3014, allocations: 0 / 388.9 MB, free: 34.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.3018, allocations: 398.8 kB / 389.3 MB, free: 33.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.302, allocations: 148.5 kB / 389.4 MB, free: 33.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.302, allocations: 4 kB / 389.4 MB, free: 33.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.3022, allocations: 15.98 kB / 389.5 MB, free: 33.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.3023, allocations: 11.98 kB / 389.5 MB, free: 33.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.3023, allocations: 7.984 kB / 389.5 MB, free: 33.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002672/0.3026, allocations: 315.1 kB / 389.8 MB, free: 33.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3026, allocations: 4.062 kB / 389.8 MB, free: 33.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003584/0.3029, allocations: 91.84 kB / 389.9 MB, free: 33.14 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008473/0.3038, allocations: 416 kB / 390.3 MB, free: 32.76 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004959/0.3043, allocations: 295.2 kB / 390.6 MB, free: 32.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.3043, allocations: 7.938 kB / 390.6 MB, free: 32.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.3045, allocations: 91.81 kB / 390.7 MB, free: 32.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005822/0.305, allocations: 111.9 kB / 390.8 MB, free: 32.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.3062, allocations: 0.962 MB / 391.7 MB, free: 31.26 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.3065, allocations: 0.7924 MB / 392.5 MB, free: 30.44 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.427e-05/0.3065, allocations: 35.44 kB / 392.6 MB, free: 30.41 MB / 298.7 MB Notification: Performance of SimCode: time 6.12e-07/0.3065, allocations: 0 / 392.6 MB, free: 30.41 MB / 298.7 MB Notification: Performance of Templates: time 0.007169/0.3137, allocations: 5.765 MB / 398.3 MB, free: 24.63 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches