Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|p_table.a|p_table.b|p_table.last|p_table.nextEvent",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|p_table.a|p_table.b|p_table.last|p_table.nextEvent",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001024/0.001025, allocations: 96.66 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001214/0.001214, allocations: 207.3 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.7 MB / 247.5 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1953/0.1953, allocations: 46.18 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000286/0.0002861, allocations: 12 kB / 420.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1126, allocations: 63.55 MB / 483.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.01779/0.1304, allocations: 17.11 MB / 0.4891 GB, free: 2.984 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006265/0.1367, allocations: 4.477 MB / 0.4935 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007006/0.1375, allocations: 19.81 kB / 0.4935 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008621/0.1384, allocations: 242.6 kB / 0.4937 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001936/0.1403, allocations: 0.688 MB / 0.4944 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002447/0.1428, allocations: 0.8674 MB / 0.4952 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002219/0.145, allocations: 1.868 MB / 0.4971 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007197/0.1458, allocations: 361.3 kB / 0.4974 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/0.1469, allocations: 0.5057 MB / 0.4979 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000789/0.1477, allocations: 454 kB / 0.4983 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.1479, allocations: 24 kB / 0.4984 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.1493, allocations: 0.6241 MB / 0.499 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002126/0.1495, allocations: 139.4 kB / 0.4991 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004588/0.1499, allocations: 352 kB / 0.4994 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.1511, allocations: 0.7875 MB / 0.5002 GB, free: 7.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1511, allocations: 0 / 0.5002 GB, free: 7.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1511, allocations: 0 / 0.5002 GB, free: 7.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.326e-05/0.1512, allocations: 0 / 0.5002 GB, free: 7.578 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001599/0.1528, allocations: 0.8862 MB / 0.5011 GB, free: 6.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.1528, allocations: 11.97 kB / 0.5011 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00053/0.1534, allocations: 80.09 kB / 0.5012 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007943/0.1542, allocations: 0.4897 MB / 0.5016 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.1542, allocations: 29.38 kB / 0.5017 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.688e-05/0.1543, allocations: 48.38 kB / 0.5017 GB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000996/0.1553, allocations: 0.6534 MB / 0.5024 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.1553, allocations: 7.938 kB / 0.5024 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.166e-05/0.1554, allocations: 20 kB / 0.5024 GB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.1554, allocations: 12 kB / 0.5024 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000831/0.1562, allocations: 0.5308 MB / 0.5029 GB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003598/0.1598, allocations: 3.093 MB / 0.5059 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.1603, allocations: 242.5 kB / 0.5062 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.1605, allocations: 158.8 kB / 0.5063 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003023/0.1608, allocations: 340.4 kB / 0.5066 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004259/0.1613, allocations: 290.8 kB / 0.5069 GB, free: 264 kB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.643e-06/0.1613, allocations: 4 kB / 0.5069 GB, free: 260 kB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.2148/0.3761, allocations: 0.5311 MB / 0.5074 GB, free: 21.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.2e-05/0.3762, allocations: 293.3 kB / 0.5077 GB, free: 21.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009544/0.3772, allocations: 0.5616 MB / 0.5083 GB, free: 20.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.119e-05/0.3773, allocations: 31.73 kB / 0.5083 GB, free: 20.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/0.3776, allocations: 335.6 kB / 0.5086 GB, free: 20.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.828e-05/0.3777, allocations: 96.59 kB / 0.5087 GB, free: 20.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.818e-05/0.3777, allocations: 44.55 kB / 0.5087 GB, free: 20.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3779, allocations: 367.9 kB / 0.5091 GB, free: 20.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/0.3782, allocations: 164.8 kB / 0.5093 GB, free: 20.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004734/0.3786, allocations: 391.1 kB / 0.5096 GB, free: 20.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007219/0.3794, allocations: 0.5527 MB / 0.5102 GB, free: 19.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.3794, allocations: 1.375 kB / 0.5102 GB, free: 19.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001127/0.3805, allocations: 0.6362 MB / 0.5108 GB, free: 19.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001368/0.3807, allocations: 280.7 kB / 0.5111 GB, free: 19.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.3807, allocations: 6.375 kB / 0.5111 GB, free: 19.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.3807, allocations: 9.75 kB / 0.5111 GB, free: 19.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.3822, allocations: 202.9 kB / 0.5113 GB, free: 19.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003573/0.3825, allocations: 0.6266 MB / 0.5119 GB, free: 18.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005435/0.3831, allocations: 73.42 kB / 0.512 GB, free: 18.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.189e-05/0.3832, allocations: 32.16 kB / 0.512 GB, free: 18.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/0.3832, allocations: 3.594 kB / 0.512 GB, free: 18.86 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009285/0.3841, allocations: 0.5659 MB / 0.5125 GB, free: 18.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.3842, allocations: 6.156 kB / 0.5125 GB, free: 18.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3842, allocations: 7.75 kB / 0.5126 GB, free: 18.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.3846, allocations: 124.7 kB / 0.5127 GB, free: 18.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.3846, allocations: 13.28 kB / 0.5127 GB, free: 18.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/0.385, allocations: 68.8 kB / 0.5127 GB, free: 18.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.869e-05/0.3851, allocations: 28.73 kB / 0.5128 GB, free: 18.77 MB / 382.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.0003332/0.3854, allocations: 317.5 kB / 0.5131 GB, free: 18.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.3856, allocations: 62.78 kB / 0.5131 GB, free: 18.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.387, allocations: 0.772 MB / 0.5139 GB, free: 18.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.387, allocations: 5.047 kB / 0.5139 GB, free: 18.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.387, allocations: 1.688 kB / 0.5139 GB, free: 18.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.387, allocations: 2.625 kB / 0.5139 GB, free: 18.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006772/0.3877, allocations: 0.5454 MB / 0.5144 GB, free: 18.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.3877, allocations: 0 / 0.5144 GB, free: 18.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006472/0.3884, allocations: 123.1 kB / 0.5146 GB, free: 18.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.3884, allocations: 2 kB / 0.5146 GB, free: 18.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.3884, allocations: 20.5 kB / 0.5146 GB, free: 18.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002151/0.3886, allocations: 0.5939 MB / 0.5152 GB, free: 17.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3887, allocations: 6.453 kB / 0.5152 GB, free: 17.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007499/0.3894, allocations: 0.5505 MB / 0.5157 GB, free: 17.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/0.3897, allocations: 215.6 kB / 0.5159 GB, free: 17.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.3898, allocations: 14.64 kB / 0.5159 GB, free: 17.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003252/0.3901, allocations: 31.86 kB / 0.5159 GB, free: 17.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.58e-05/0.3902, allocations: 24.8 kB / 0.516 GB, free: 17.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/0.3903, allocations: 17.84 kB / 0.516 GB, free: 17.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005868/0.3909, allocations: 414.8 kB / 0.5164 GB, free: 17.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3909, allocations: 1 kB / 0.5164 GB, free: 17.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001384/0.3923, allocations: 422.8 kB / 0.5168 GB, free: 17.19 MB / 382.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: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.0008369/0.3931, allocations: 330.1 kB / 0.5171 GB, free: 17.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002566/0.3957, allocations: 0.9664 MB / 0.518 GB, free: 16.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.3957, allocations: 1.312 kB / 0.518 GB, free: 16.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.3967, allocations: 397.9 kB / 0.5184 GB, free: 16.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.3982, allocations: 279.9 kB / 0.5187 GB, free: 16.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.4004, allocations: 1.382 MB / 0.52 GB, free: 16.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.4008, allocations: 0.8849 MB / 0.5209 GB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.401, allocations: 74.88 kB / 0.521 GB, free: 15.45 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.401, allocations: 0 / 0.521 GB, free: 15.45 MB / 382.1 MB Notification: Performance of Templates: time 0.02369/0.4247, allocations: 14.61 MB / 0.5352 GB, free: 10.64 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestSimpleGenericOrifice/TestSimpleGenericOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches