Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 71.28 kB / 21.24 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 160.8 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2087/0.2087, allocations: 34.27 MB / 295.5 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 67.89 kB / 443.2 MB, free: 5.598 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2956, allocations: 66 MB / 0.4973 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4953/0.7909, allocations: 161.7 MB / 0.6552 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005401/0.7963, allocations: 3.033 MB / 0.6581 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007428/0.797, allocations: 22.47 kB / 0.6581 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009837/0.798, allocations: 312.9 kB / 0.6584 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003672/0.8017, allocations: 1.429 MB / 0.6598 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.8035, allocations: 0.743 MB / 0.6606 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00183/0.8054, allocations: 1.576 MB / 0.6621 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004992/0.8059, allocations: 359.2 kB / 0.6624 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007857/0.8066, allocations: 0.6049 MB / 0.663 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005427/0.8072, allocations: 457.4 kB / 0.6635 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.675e-05/0.8073, allocations: 53.94 kB / 0.6635 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001914/0.8092, allocations: 0.9034 MB / 0.6644 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.8094, allocations: 164.3 kB / 0.6646 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000319/0.8097, allocations: 292.4 kB / 0.6648 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001814/0.8115, allocations: 1.458 MB / 0.6663 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.8115, allocations: 0 / 0.6663 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8115, allocations: 3.375 kB / 0.6663 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.8115, allocations: 0 / 0.6663 GB, free: 1.383 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001752/0.8133, allocations: 1.002 MB / 0.6672 GB, free: 16.83 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.8133, allocations: 8.594 kB / 0.6673 GB, free: 16.83 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009692/0.8143, allocations: 151.6 kB / 0.6674 GB, free: 16.79 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007274/0.815, allocations: 437.7 kB / 0.6678 GB, free: 16.59 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.815, allocations: 31.16 kB / 0.6678 GB, free: 16.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.513e-05/0.8151, allocations: 46.41 kB / 0.6679 GB, free: 16.58 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.8162, allocations: 0.8974 MB / 0.6688 GB, free: 16.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.8162, allocations: 1 kB / 0.6688 GB, free: 16.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.362e-05/0.8162, allocations: 19.03 kB / 0.6688 GB, free: 16.09 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.8162, allocations: 15.16 kB / 0.6688 GB, free: 16.08 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008093/0.8171, allocations: 482.1 kB / 0.6693 GB, free: 16.08 MB / 0.545 GB 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.002386/0.8194, allocations: 1.897 MB / 0.6711 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006401/0.8201, allocations: 323.7 kB / 0.6714 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.8204, allocations: 160.2 kB / 0.6716 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002006/0.8206, allocations: 54.25 kB / 0.6716 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.8206, allocations: 38.09 kB / 0.6717 GB, free: 14.99 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 2.154e-06/0.8206, allocations: 0.6562 kB / 0.6717 GB, free: 14.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.001561/0.8222, allocations: 0.6483 MB / 0.6723 GB, free: 14.92 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.145e-05/0.8222, allocations: 131.7 kB / 0.6724 GB, free: 14.76 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004047/0.8227, allocations: 436.4 kB / 0.6728 GB, free: 14.63 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/0.8227, allocations: 31.67 kB / 0.6729 GB, free: 14.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.8229, allocations: 298.5 kB / 0.6731 GB, free: 14.44 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.301e-05/0.8229, allocations: 119.3 kB / 0.6733 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.8231, allocations: 102.6 kB / 0.6734 GB, free: 14.34 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.8232, allocations: 360.6 kB / 0.6737 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.8235, allocations: 149.4 kB / 0.6738 GB, free: 14.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/0.8239, allocations: 368.2 kB / 0.6742 GB, free: 13.78 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006271/0.8245, allocations: 437.2 kB / 0.6746 GB, free: 13.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.8245, allocations: 7.781 kB / 0.6746 GB, free: 13.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009083/0.8254, allocations: 0.5398 MB / 0.6751 GB, free: 13.58 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.8254, allocations: 5.375 kB / 0.6752 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.8254, allocations: 6.547 kB / 0.6752 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/0.8269, allocations: 250.2 kB / 0.6754 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/0.8273, allocations: 109.4 kB / 0.6755 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004925/0.8278, allocations: 0.5914 MB / 0.6761 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.8281, allocations: 44.08 kB / 0.6761 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.496e-05/0.8281, allocations: 45.77 kB / 0.6762 GB, free: 13.03 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002494/0.8284, allocations: 181.2 kB / 0.6763 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.8285, allocations: 48.94 kB / 0.6764 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/0.8302, allocations: 1.104 MB / 0.6775 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.8302, allocations: 8.672 kB / 0.6775 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.8302, allocations: 0 / 0.6775 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.8302, allocations: 0 / 0.6775 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.8315, allocations: 0.8726 MB / 0.6783 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.8315, allocations: 2.188 kB / 0.6783 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.8317, allocations: 55.91 kB / 0.6784 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003092/0.8348, allocations: 442.1 kB / 0.6788 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.8348, allocations: 17.31 kB / 0.6788 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004825/0.8353, allocations: 0.6084 MB / 0.6794 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.8353, allocations: 3.688 kB / 0.6794 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007937/0.8361, allocations: 0.4997 MB / 0.6799 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.416e-05/0.8362, allocations: 48.88 kB / 0.68 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.784e-05/0.8363, allocations: 16.27 kB / 0.68 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.8366, allocations: 20.2 kB / 0.68 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.8367, allocations: 25.92 kB / 0.68 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.8367, allocations: 18.86 kB / 0.68 GB, free: 11.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003742/0.8371, allocations: 339.6 kB / 0.6804 GB, free: 11.56 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.8371, allocations: 3.094 kB / 0.6804 GB, free: 11.56 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009246/0.838, allocations: 296.5 kB / 0.6806 GB, free: 11.52 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006761/0.8387, allocations: 361.3 kB / 0.681 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007761/0.8394, allocations: 366.2 kB / 0.6813 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.8394, allocations: 0 / 0.6813 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.8398, allocations: 158.2 kB / 0.6815 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.8411, allocations: 284.3 kB / 0.6818 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.8425, allocations: 0.9144 MB / 0.6826 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.8427, allocations: 261.6 kB / 0.6829 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000896/0.8436, allocations: 0.5466 MB / 0.6834 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.8438, allocations: 87.7 kB / 0.6835 GB, free: 10.73 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.8438, allocations: 0 / 0.6835 GB, free: 10.73 MB / 0.545 GB Notification: Performance of Templates: time 0.02307/0.8669, allocations: 14.54 MB / 0.6977 GB, free: 7.152 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.038367782020941]