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.001037/0.001037, allocations: 94.81 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001401, allocations: 203 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2244/0.2244, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002768/0.0002769, allocations: 4 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1141, allocations: 63.56 MB / 483.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.01943/0.1336, allocations: 17.11 MB / 0.4885 GB, free: 2.973 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007232/0.1409, allocations: 4.477 MB / 0.4928 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.142, allocations: 19.81 kB / 0.4929 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.1433, allocations: 246.6 kB / 0.4931 GB, free: 14.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.1458, allocations: 0.688 MB / 0.4938 GB, free: 13.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003137/0.149, allocations: 0.8516 MB / 0.4946 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002406/0.1514, allocations: 1.876 MB / 0.4964 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008222/0.1523, allocations: 357.3 kB / 0.4968 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.1536, allocations: 0.5096 MB / 0.4973 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008774/0.1545, allocations: 450 kB / 0.4977 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.1546, allocations: 28 kB / 0.4977 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.1561, allocations: 0.6241 MB / 0.4983 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000246/0.1564, allocations: 139.4 kB / 0.4985 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000537/0.1569, allocations: 356 kB / 0.4988 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.1587, allocations: 1.071 MB / 0.4999 GB, free: 7.281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1587, allocations: 0 / 0.4999 GB, free: 7.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1587, allocations: 0 / 0.4999 GB, free: 7.281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.614e-05/0.1588, allocations: 0 / 0.4999 GB, free: 7.281 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.00168/0.1604, allocations: 0.8823 MB / 0.5007 GB, free: 6.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.1605, allocations: 15.97 kB / 0.5007 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003751/0.1609, allocations: 84.03 kB / 0.5008 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007168/0.1616, allocations: 489.5 kB / 0.5013 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/0.1617, allocations: 33.38 kB / 0.5013 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.996e-05/0.1617, allocations: 44.38 kB / 0.5014 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.1628, allocations: 0.6534 MB / 0.502 GB, free: 4.945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.1629, allocations: 11.94 kB / 0.502 GB, free: 4.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.055e-05/0.1629, allocations: 20 kB / 0.502 GB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.163, allocations: 12 kB / 0.502 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008456/0.1638, allocations: 0.5347 MB / 0.5026 GB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003754/0.1676, allocations: 3.093 MB / 0.5056 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004296/0.168, allocations: 238.6 kB / 0.5058 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/0.1683, allocations: 158.9 kB / 0.506 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002966/0.1686, allocations: 344.4 kB / 0.5063 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2119/0.3805, allocations: 285.9 kB / 0.5066 GB, free: 42.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 3.757e-06/0.3805, allocations: 0 / 0.5066 GB, free: 42.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001377/0.3819, allocations: 0.5449 MB / 0.5071 GB, free: 42.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.923e-05/0.382, allocations: 292.6 kB / 0.5074 GB, free: 41.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008844/0.3829, allocations: 0.5598 MB / 0.5079 GB, free: 41.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/0.383, allocations: 33.94 kB / 0.508 GB, free: 41.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.3832, allocations: 339.7 kB / 0.5083 GB, free: 41.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.555e-05/0.3833, allocations: 90.77 kB / 0.5084 GB, free: 41.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.423e-05/0.3834, allocations: 44.64 kB / 0.5084 GB, free: 41.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3835, allocations: 371.5 kB / 0.5088 GB, free: 41.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/0.3838, allocations: 165.3 kB / 0.5089 GB, free: 41.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005185/0.3844, allocations: 386.4 kB / 0.5093 GB, free: 40.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007979/0.3852, allocations: 0.5576 MB / 0.5098 GB, free: 40.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.405e-06/0.3852, allocations: 5.312 kB / 0.5098 GB, free: 40.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001216/0.3864, allocations: 0.6438 MB / 0.5105 GB, free: 40.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001525/0.3866, allocations: 278 kB / 0.5107 GB, free: 40.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.3866, allocations: 4.656 kB / 0.5107 GB, free: 40.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.798e-05/0.3866, allocations: 8.312 kB / 0.5107 GB, free: 40.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.3881, allocations: 199.6 kB / 0.5109 GB, free: 40.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003775/0.3885, allocations: 0.631 MB / 0.5115 GB, free: 39.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005711/0.3891, allocations: 71.83 kB / 0.5116 GB, free: 39.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.28e-05/0.3892, allocations: 30.55 kB / 0.5116 GB, free: 39.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.3892, allocations: 7.953 kB / 0.5117 GB, free: 39.55 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009319/0.3901, allocations: 0.5713 MB / 0.5122 GB, free: 39.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.3902, allocations: 5.344 kB / 0.5122 GB, free: 39.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3902, allocations: 8.766 kB / 0.5122 GB, free: 39.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004057/0.3906, allocations: 112.9 kB / 0.5123 GB, free: 39.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/0.3906, allocations: 17.89 kB / 0.5123 GB, free: 39.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004579/0.3911, allocations: 60.92 kB / 0.5124 GB, free: 39.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/0.3911, allocations: 28.86 kB / 0.5124 GB, free: 39.26 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.0003419/0.3915, allocations: 310.1 kB / 0.5127 GB, free: 38.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.3916, allocations: 63.34 kB / 0.5128 GB, free: 38.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.393, allocations: 0.7809 MB / 0.5136 GB, free: 38.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.393, allocations: 8.031 kB / 0.5136 GB, free: 38.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.393, allocations: 1.625 kB / 0.5136 GB, free: 38.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.393, allocations: 2.062 kB / 0.5136 GB, free: 38.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006918/0.3937, allocations: 0.5359 MB / 0.5141 GB, free: 38.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.3937, allocations: 0.6562 kB / 0.5141 GB, free: 38.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00068/0.3944, allocations: 120.8 kB / 0.5142 GB, free: 38.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.3945, allocations: 2.312 kB / 0.5142 GB, free: 38.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.3945, allocations: 17.55 kB / 0.5142 GB, free: 38.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000222/0.3947, allocations: 0.5953 MB / 0.5148 GB, free: 37.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3947, allocations: 3.844 kB / 0.5148 GB, free: 37.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007894/0.3955, allocations: 0.5464 MB / 0.5153 GB, free: 37.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/0.3958, allocations: 216.2 kB / 0.5155 GB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.396, allocations: 11.19 kB / 0.5156 GB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/0.3963, allocations: 34.36 kB / 0.5156 GB, free: 37.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/0.3964, allocations: 26.11 kB / 0.5156 GB, free: 37.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.859e-05/0.3964, allocations: 17.98 kB / 0.5156 GB, free: 37.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006122/0.3971, allocations: 420.9 kB / 0.516 GB, free: 37.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3971, allocations: 0 / 0.516 GB, free: 37.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001396/0.3985, allocations: 418.4 kB / 0.5164 GB, free: 37.05 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.0009876/0.3995, allocations: 342.1 kB / 0.5168 GB, free: 36.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002601/0.4021, allocations: 0.9719 MB / 0.5177 GB, free: 36.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4021, allocations: 0 / 0.5177 GB, free: 36.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.4031, allocations: 396.8 kB / 0.5181 GB, free: 36.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.4047, allocations: 268.2 kB / 0.5183 GB, free: 36.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.4069, allocations: 1.346 MB / 0.5197 GB, free: 35.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.4074, allocations: 0.8939 MB / 0.5205 GB, free: 34.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008309/0.4082, allocations: 217.6 kB / 0.5207 GB, free: 34.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.4084, allocations: 66.38 kB / 0.5208 GB, free: 34.77 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4084, allocations: 4 kB / 0.5208 GB, free: 34.77 MB / 382.1 MB Notification: Performance of Templates: time 0.02734/0.4357, allocations: 14.68 MB / 0.5351 GB, free: 27.3 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestSimpleGenericOrifice/TestSimpleGenericOrifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches