Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pressure1.p|pressure2.p|relativePressure.p_rel|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pressure1.p|pressure2.p|relativePressure.p_rel|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 98.23 kB / 16.99 MB, free: 5.941 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.001249/0.001249, allocations: 183.4 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 223.2 MB / 241.8 MB, free: 356 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2623/0.2623, allocations: 44.23 MB / 337.1 MB, free: 2.879 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.000404, allocations: 8 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1547, allocations: 61.91 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure): time 0.03469/0.1894, allocations: 31.85 MB / 0.4915 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3755/0.5649, allocations: 18.38 MB / 0.5095 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.566, allocations: 12.84 kB / 0.5095 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.5671, allocations: 245.7 kB / 0.5097 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01525/0.5824, allocations: 3.567 MB / 0.5132 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006746/0.5892, allocations: 1.625 MB / 0.5148 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002093/0.5913, allocations: 0.6779 MB / 0.5154 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007131/0.592, allocations: 283 kB / 0.5157 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02202/0.614, allocations: 9.072 MB / 0.5246 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.6152, allocations: 247.5 kB / 0.5248 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.6154, allocations: 19.5 kB / 0.5248 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02165/0.637, allocations: 7.111 MB / 0.5318 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004067/0.6375, allocations: 94.31 kB / 0.5319 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005001/0.638, allocations: 121 kB / 0.532 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009047/0.6471, allocations: 3.047 MB / 0.535 GB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6471, allocations: 2.875 kB / 0.535 GB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6471, allocations: 0 / 0.535 GB, free: 10.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.6471, allocations: 0 / 0.535 GB, free: 10.03 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.004088/0.6512, allocations: 1.223 MB / 0.5361 GB, free: 8.824 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.6513, allocations: 8.031 kB / 0.5362 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/0.6529, allocations: 236.9 kB / 0.5364 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006033/0.6536, allocations: 392.4 kB / 0.5368 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.114e-05/0.6536, allocations: 31.5 kB / 0.5368 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.301e-05/0.6537, allocations: 37.58 kB / 0.5368 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.6551, allocations: 0.6898 MB / 0.5375 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.6552, allocations: 4 kB / 0.5375 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.093e-05/0.6552, allocations: 21 kB / 0.5375 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.6552, allocations: 8 kB / 0.5375 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.6566, allocations: 0.5921 MB / 0.5381 GB, free: 7.16 MB / 382.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.003338/0.66, allocations: 3.305 MB / 0.5413 GB, free: 4.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.6612, allocations: 465.3 kB / 0.5418 GB, free: 3.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1163/0.7775, allocations: 56.33 MB / 0.5968 GB, free: 5.781 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.7776, allocations: 34 kB / 0.5968 GB, free: 5.742 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 2.484e-06/0.7776, allocations: 3.844 kB / 0.5968 GB, free: 5.742 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.003158/0.7808, allocations: 0.9389 MB / 0.5977 GB, free: 4.938 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.146e-05/0.7809, allocations: 110.8 kB / 0.5978 GB, free: 4.805 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004637/0.7813, allocations: 389.8 kB / 0.5982 GB, free: 4.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.7814, allocations: 36.58 kB / 0.5983 GB, free: 4.461 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.7816, allocations: 256.2 kB / 0.5985 GB, free: 4.266 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.404e-05/0.7817, allocations: 92.2 kB / 0.5986 GB, free: 4.191 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/0.7817, allocations: 11.69 kB / 0.5986 GB, free: 4.188 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.7819, allocations: 347.9 kB / 0.5989 GB, free: 3.855 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000359/0.7823, allocations: 147.1 kB / 0.5991 GB, free: 3.746 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005032/0.7828, allocations: 318.2 kB / 0.5994 GB, free: 3.418 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/0.7832, allocations: 178 kB / 0.5995 GB, free: 3.305 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.7832, allocations: 4 kB / 0.5995 GB, free: 3.301 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001162/0.7844, allocations: 0.5303 MB / 0.6001 GB, free: 2.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001063/0.7855, allocations: 2.009 MB / 0.602 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.7855, allocations: 8 kB / 0.602 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003154/0.7887, allocations: 371.8 kB / 0.6024 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003981/0.7891, allocations: 96.58 kB / 0.6025 GB, free: 348 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006286/0.7897, allocations: 0.6133 MB / 0.6031 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005124/0.7902, allocations: 73.08 kB / 0.6031 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-05/0.7903, allocations: 30.67 kB / 0.6032 GB, free: 15.65 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.7903, allocations: 4 kB / 0.6032 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009156/0.7912, allocations: 437.4 kB / 0.6036 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.7913, allocations: 8.188 kB / 0.6036 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.7913, allocations: 8 kB / 0.6036 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/0.7917, allocations: 123 kB / 0.6037 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.7917, allocations: 8 kB / 0.6037 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000417/0.7921, allocations: 73.41 kB / 0.6038 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.548e-05/0.7922, allocations: 26.83 kB / 0.6038 GB, free: 15.14 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 4 (boundary_fixed.medium.phase,massFlowRate1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003272/0.7925, allocations: 249.7 kB / 0.6041 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.557e-05/0.7926, allocations: 43.53 kB / 0.6041 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/0.7953, allocations: 1.927 MB / 0.606 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.659e-05/0.7954, allocations: 26.52 kB / 0.606 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.7954, allocations: 7.797 kB / 0.606 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.7954, allocations: 4 kB / 0.606 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.7965, allocations: 0.9707 MB / 0.607 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.7965, allocations: 2.734 kB / 0.607 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.7968, allocations: 73.94 kB / 0.6071 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001508/0.7984, allocations: 0.6328 MB / 0.6077 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.7984, allocations: 8.109 kB / 0.6077 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008846/0.7993, allocations: 1.028 MB / 0.6087 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7993, allocations: 0 / 0.6087 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.8011, allocations: 1.314 MB / 0.61 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003939/0.8015, allocations: 260.2 kB / 0.6102 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.921e-05/0.8016, allocations: 11.23 kB / 0.6102 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003059/0.8019, allocations: 43.28 kB / 0.6103 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.802, allocations: 26.89 kB / 0.6103 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.8021, allocations: 10.19 kB / 0.6103 GB, free: 10.17 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004882/0.8025, allocations: 379.4 kB / 0.6107 GB, free: 9.887 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.8026, allocations: 4 kB / 0.6107 GB, free: 9.883 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004448/0.807, allocations: 1.147 MB / 0.6118 GB, free: 8.789 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.006033/0.8131, allocations: 1.216 MB / 0.613 GB, free: 7.703 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002179/0.8153, allocations: 0.823 MB / 0.6138 GB, free: 7.133 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.8153, allocations: 0 / 0.6138 GB, free: 7.133 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007583/0.8161, allocations: 496.7 kB / 0.6143 GB, free: 6.852 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.8174, allocations: 236.7 kB / 0.6145 GB, free: 6.672 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.8199, allocations: 1.909 MB / 0.6163 GB, free: 4.957 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005499/0.8205, allocations: 0.9856 MB / 0.6173 GB, free: 3.949 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008233/0.8213, allocations: 0.5013 MB / 0.6178 GB, free: 3.461 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.8215, allocations: 44.8 kB / 0.6178 GB, free: 3.418 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.8215, allocations: 0 / 0.6178 GB, free: 3.418 MB / 462.1 MB Notification: Performance of Templates: time 0.06195/0.8834, allocations: 41.1 MB / 0.658 GB, free: 10.55 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestPressure/TestPressure.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches