Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001631/0.001636, allocations: 182.6 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001171/0.001171, allocations: 96.36 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5207/0.5207, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005189/0.0005191, allocations: 12 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.133, allocations: 58.86 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure): time 0.3711/0.5042, allocations: 31.85 MB / 0.5098 GB, free: 28.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0282/0.5325, allocations: 18.38 MB / 0.5278 GB, free: 15.46 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008422/0.5334, allocations: 14.41 kB / 0.5278 GB, free: 15.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.5344, allocations: 233.8 kB / 0.528 GB, free: 15.33 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01445/0.5489, allocations: 3.561 MB / 0.5315 GB, free: 13.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007174/0.5561, allocations: 1.624 MB / 0.5331 GB, free: 12.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001517/0.5577, allocations: 0.6773 MB / 0.5337 GB, free: 12.38 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005539/0.5583, allocations: 282.1 kB / 0.534 GB, free: 12.28 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02403/0.5823, allocations: 9.07 MB / 0.5429 GB, free: 11.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008309/0.5832, allocations: 246.2 kB / 0.5431 GB, free: 11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.5834, allocations: 18.88 kB / 0.5431 GB, free: 11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02083/0.6042, allocations: 7.103 MB / 0.5501 GB, free: 9.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002666/0.6045, allocations: 93.12 kB / 0.5502 GB, free: 9.363 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000315/0.6049, allocations: 125.1 kB / 0.5503 GB, free: 9.289 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00947/0.6143, allocations: 3.051 MB / 0.5533 GB, free: 8.145 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.6144, allocations: 0 / 0.5533 GB, free: 8.145 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.6144, allocations: 0 / 0.5533 GB, free: 8.145 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.517e-06/0.6144, allocations: 0 / 0.5533 GB, free: 8.145 MB / 378.7 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.005437/0.6199, allocations: 1.219 MB / 0.5544 GB, free: 7.258 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.6199, allocations: 13.67 kB / 0.5545 GB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002433/0.6224, allocations: 237.6 kB / 0.5547 GB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007306/0.6231, allocations: 384.5 kB / 0.5551 GB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.146e-05/0.6232, allocations: 33.41 kB / 0.5551 GB, free: 6.789 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.137e-05/0.6233, allocations: 36.28 kB / 0.5551 GB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002275/0.6256, allocations: 0.6887 MB / 0.5558 GB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.6256, allocations: 5.969 kB / 0.5558 GB, free: 6.297 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.169e-05/0.6257, allocations: 17.19 kB / 0.5558 GB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.6257, allocations: 11.38 kB / 0.5558 GB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002395/0.6281, allocations: 0.588 MB / 0.5564 GB, free: 6.016 MB / 378.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.005187/0.6334, allocations: 3.309 MB / 0.5596 GB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/0.6356, allocations: 470 kB / 0.5601 GB, free: 2.723 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2081/0.8437, allocations: 56.33 MB / 0.6151 GB, free: 3.773 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.114e-05/0.8438, allocations: 35.03 kB / 0.6151 GB, free: 3.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 3.527e-06/0.8439, allocations: 0 / 0.6151 GB, free: 3.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=27): time 0.005234/0.8491, allocations: 0.9421 MB / 0.616 GB, free: 2.762 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.651e-05/0.8492, allocations: 102.8 kB / 0.6161 GB, free: 2.637 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007433/0.85, allocations: 393.8 kB / 0.6165 GB, free: 2.246 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-05/0.8501, allocations: 37.64 kB / 0.6165 GB, free: 2.203 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/0.8504, allocations: 302 kB / 0.6168 GB, free: 1.906 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.8506, allocations: 94.73 kB / 0.6169 GB, free: 1.812 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.8506, allocations: 4 kB / 0.6169 GB, free: 1.809 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.8508, allocations: 326.8 kB / 0.6172 GB, free: 1.48 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006964/0.8515, allocations: 144.8 kB / 0.6174 GB, free: 1.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009184/0.8524, allocations: 321.7 kB / 0.6177 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007911/0.8533, allocations: 181.6 kB / 0.6179 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.8533, allocations: 4 kB / 0.6179 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00204/0.8553, allocations: 0.5098 MB / 0.6184 GB, free: 256 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001112/0.8565, allocations: 2.006 MB / 0.6203 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.8566, allocations: 4 kB / 0.6203 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009657/0.8662, allocations: 376.4 kB / 0.6207 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.8676, allocations: 99.88 kB / 0.6208 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.869, allocations: 0.6089 MB / 0.6214 GB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.8706, allocations: 83.3 kB / 0.6215 GB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/0.8708, allocations: 24 kB / 0.6215 GB, free: 12.88 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.8708, allocations: 4 kB / 0.6215 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002707/0.8736, allocations: 449 kB / 0.6219 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.8737, allocations: 4.062 kB / 0.6219 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.8737, allocations: 12 kB / 0.6219 GB, free: 12.42 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008699/0.8746, allocations: 115.8 kB / 0.622 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.587e-05/0.8746, allocations: 15.92 kB / 0.622 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005848/0.8752, allocations: 55.73 kB / 0.6221 GB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-05/0.8753, allocations: 23.98 kB / 0.6221 GB, free: 12.21 MB / 458.7 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.0005024/0.8758, allocations: 248.9 kB / 0.6224 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.876, allocations: 52.34 kB / 0.6224 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004538/0.8806, allocations: 1.93 MB / 0.6243 GB, free: 9.969 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-05/0.8807, allocations: 27.95 kB / 0.6243 GB, free: 9.941 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/0.8807, allocations: 0 / 0.6243 GB, free: 9.941 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.8807, allocations: 0 / 0.6243 GB, free: 9.941 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/0.8826, allocations: 0.9751 MB / 0.6253 GB, free: 8.914 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.8827, allocations: 0 / 0.6253 GB, free: 8.914 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006185/0.8833, allocations: 67.95 kB / 0.6253 GB, free: 8.848 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002734/0.8861, allocations: 0.65 MB / 0.626 GB, free: 8.191 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.218e-05/0.8862, allocations: 8 kB / 0.626 GB, free: 8.184 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/0.8876, allocations: 1.014 MB / 0.627 GB, free: 7.145 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.8877, allocations: 4.062 kB / 0.627 GB, free: 7.141 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003002/0.8907, allocations: 1.313 MB / 0.6283 GB, free: 5.805 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005967/0.8913, allocations: 259.4 kB / 0.6285 GB, free: 5.531 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.8915, allocations: 8 kB / 0.6285 GB, free: 5.523 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000599/0.8921, allocations: 39.91 kB / 0.6286 GB, free: 5.484 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/0.8923, allocations: 31.91 kB / 0.6286 GB, free: 5.453 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.805e-05/0.8924, allocations: 12 kB / 0.6286 GB, free: 5.441 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007406/0.8931, allocations: 378.8 kB / 0.629 GB, free: 5.07 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.8932, allocations: 0 / 0.629 GB, free: 5.07 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005955/0.8991, allocations: 1.148 MB / 0.6301 GB, free: 3.922 MB / 458.7 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.01011/0.9093, allocations: 1.2 MB / 0.6312 GB, free: 2.715 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003164/0.9125, allocations: 0.8321 MB / 0.6321 GB, free: 1.887 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.9125, allocations: 0 / 0.6321 GB, free: 1.887 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001256/0.9138, allocations: 488.8 kB / 0.6325 GB, free: 1.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/0.9161, allocations: 244 kB / 0.6328 GB, free: 1.176 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004133/0.9203, allocations: 1.939 MB / 0.6347 GB, free: 15.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007475/0.9211, allocations: 0.9913 MB / 0.6356 GB, free: 14.18 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/0.9213, allocations: 55.36 kB / 0.6357 GB, free: 14.13 MB / 474.7 MB Notification: Performance of SimCode: time 1.222e-06/0.9214, allocations: 0 / 0.6357 GB, free: 14.13 MB / 474.7 MB Notification: Performance of Templates: time 0.07522/0.9966, allocations: 31.11 MB / 0.6661 GB, free: 14.99 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestPressure/TestPressure.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches