Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.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.001827/0.001827, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.002005/0.002005, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.469/1.469, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.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.2303/0.2303, allocations: 46.97 MB / 361.6 MB, free: 4.035 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.Fittings.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|p_table.a|p_table.b|p_table.last|p_table.nextEvent",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|p_table.a|p_table.b|p_table.last|p_table.nextEvent",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 68.08 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2901, allocations: 66.04 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.01971/0.3099, allocations: 15.8 MB / 0.5773 GB, free: 4.293 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006575/0.3164, allocations: 4.039 MB / 0.5812 GB, free: 244 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004839/0.3169, allocations: 27.75 kB / 0.5812 GB, free: 216 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008312/0.3177, allocations: 278 kB / 0.5815 GB, free: 15.94 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.3195, allocations: 0.7733 MB / 0.5823 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002632/0.3221, allocations: 1.012 MB / 0.5832 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001887/0.324, allocations: 1.474 MB / 0.5847 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005549/0.3246, allocations: 366.2 kB / 0.585 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009167/0.3255, allocations: 0.5838 MB / 0.5856 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006646/0.3261, allocations: 478 kB / 0.5861 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.3262, allocations: 48 kB / 0.5861 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.3274, allocations: 0.5968 MB / 0.5867 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.3276, allocations: 167.3 kB / 0.5868 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003305/0.3279, allocations: 294.7 kB / 0.5871 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001506/0.3295, allocations: 1.143 MB / 0.5882 GB, free: 9.016 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3295, allocations: 0 / 0.5882 GB, free: 9.016 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3295, allocations: 4 kB / 0.5882 GB, free: 9.012 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.3295, allocations: 4 kB / 0.5883 GB, free: 9.008 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001787/0.3313, allocations: 0.9652 MB / 0.5892 GB, free: 8.004 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3313, allocations: 8.031 kB / 0.5892 GB, free: 7.996 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003479/0.3316, allocations: 80.52 kB / 0.5893 GB, free: 7.918 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008833/0.3325, allocations: 442.8 kB / 0.5897 GB, free: 7.461 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.141e-05/0.3326, allocations: 37.38 kB / 0.5897 GB, free: 7.426 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.061e-05/0.3326, allocations: 44.38 kB / 0.5898 GB, free: 7.383 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.3339, allocations: 1.007 MB / 0.5908 GB, free: 6.238 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.334, allocations: 0 / 0.5908 GB, free: 6.238 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.996e-05/0.334, allocations: 20 kB / 0.5908 GB, free: 6.219 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.334, allocations: 12 kB / 0.5908 GB, free: 6.207 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009004/0.3349, allocations: 0.5715 MB / 0.5914 GB, free: 5.633 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0036/0.3385, allocations: 2.552 MB / 0.5938 GB, free: 2.988 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004459/0.339, allocations: 236.4 kB / 0.5941 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.3392, allocations: 162.7 kB / 0.5942 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/0.3394, allocations: 35.91 kB / 0.5943 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006009/0.34, allocations: 482.8 kB / 0.5947 GB, free: 1.988 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.843e-06/0.34, allocations: 0 / 0.5947 GB, free: 1.988 MB / 430.1 MB Notification: Performance of matching and sorting (n=28): time 0.001146/0.3411, allocations: 0.6013 MB / 0.5953 GB, free: 1.363 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001901/0.3413, allocations: 294.7 kB / 0.5956 GB, free: 1.008 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005459/0.3419, allocations: 481.8 kB / 0.596 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/0.3419, allocations: 41.58 kB / 0.5961 GB, free: 492 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002913/0.3422, allocations: 351.8 kB / 0.5964 GB, free: 136 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.613e-05/0.3423, allocations: 91.22 kB / 0.5965 GB, free: 44 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.3425, allocations: 130.1 kB / 0.5966 GB, free: 15.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.3427, allocations: 362.7 kB / 0.597 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.343, allocations: 204.5 kB / 0.5972 GB, free: 15.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006479/0.3437, allocations: 0.6207 MB / 0.5978 GB, free: 14.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007809/0.3444, allocations: 0.5589 MB / 0.5983 GB, free: 13.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3444, allocations: 0 / 0.5983 GB, free: 13.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001147/0.3456, allocations: 0.6685 MB / 0.599 GB, free: 13.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.382e-05/0.3456, allocations: 41.78 kB / 0.599 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3456, allocations: 8 kB / 0.599 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.3457, allocations: 8 kB / 0.599 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.347, allocations: 191.7 kB / 0.5992 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005792/0.3476, allocations: 0.6327 MB / 0.5998 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004124/0.348, allocations: 59.56 kB / 0.5999 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-05/0.3481, allocations: 31.98 kB / 0.5999 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004687/0.3486, allocations: 318.8 kB / 0.6002 GB, free: 11.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006098/0.3492, allocations: 0.6012 MB / 0.6008 GB, free: 11.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007464/0.3499, allocations: 0.5424 MB / 0.6013 GB, free: 10.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.485e-06/0.3499, allocations: 0 / 0.6013 GB, free: 10.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=61) (initialization_lambda0): time 0.001094/0.351, allocations: 0.6486 MB / 0.602 GB, free: 9.863 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/0.351, allocations: 37.7 kB / 0.602 GB, free: 9.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.3511, allocations: 8 kB / 0.602 GB, free: 9.812 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3511, allocations: 15.92 kB / 0.602 GB, free: 9.797 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000402/0.3515, allocations: 111.8 kB / 0.6021 GB, free: 9.688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-05/0.3515, allocations: 16.48 kB / 0.6022 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/0.3519, allocations: 55.72 kB / 0.6022 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/0.352, allocations: 28 kB / 0.6022 GB, free: 9.59 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 7 (p_table.nextEventScaled,p_table.nextEvent,$PRE.p_table.nextEvent,p_table.last,p_table.b,p_table.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002442/0.3522, allocations: 252.7 kB / 0.6025 GB, free: 9.332 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.3523, allocations: 59.67 kB / 0.6025 GB, free: 9.273 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.3538, allocations: 0.8088 MB / 0.6033 GB, free: 8.488 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3538, allocations: 0 / 0.6033 GB, free: 8.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3538, allocations: 4 kB / 0.6033 GB, free: 8.484 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002552/0.3541, allocations: 119.4 kB / 0.6034 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.95e-05/0.3542, allocations: 8 kB / 0.6034 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.3544, allocations: 12 kB / 0.6035 GB, free: 8.348 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.714e-05/0.3545, allocations: 32.27 kB / 0.6035 GB, free: 8.316 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00106/0.3556, allocations: 0.6816 MB / 0.6042 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001301/0.3569, allocations: 0.9868 MB / 0.6051 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003085/0.3572, allocations: 207 kB / 0.6053 GB, free: 6.367 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004088/0.3576, allocations: 346.8 kB / 0.6056 GB, free: 6.031 MB / 446.1 MB Notification: Performance of Backend: time 3.7e-07/0.3576, allocations: 0 / 0.6056 GB, free: 6.031 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003216/0.3608, allocations: 1.077 MB / 0.6067 GB, free: 4.914 MB / 446.1 MB Notification: Performance of SimCode: time 0.002357/0.3632, allocations: 1.612 MB / 0.6083 GB, free: 3.25 MB / 446.1 MB Notification: Performance of Templates: time 0.02808/0.3912, allocations: 17.13 MB / 0.625 GB, free: 2.328 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestSimpleGenericOrifice/TestSimpleGenericOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.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: 5.526660141003958]