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.001255/0.001255, allocations: 97.05 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001472/0.001472, allocations: 207.5 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2095/0.2095, allocations: 45.91 MB / 344 MB, free: 12.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000285/0.000285, allocations: 8 kB / 417.9 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1415, allocations: 63.45 MB / 481.4 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.01791/0.1595, allocations: 14.67 MB / 496.1 MB, free: 6.734 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008054/0.1676, allocations: 3.829 MB / 499.9 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008605/0.1686, allocations: 23.81 kB / 499.9 MB, free: 2.871 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.1697, allocations: 226.8 kB / 0.4884 GB, free: 2.648 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002761/0.1725, allocations: 0.6232 MB / 0.489 GB, free: 2.023 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00335/0.1758, allocations: 0.7698 MB / 0.4898 GB, free: 1.262 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002105/0.178, allocations: 0.8563 MB / 0.4906 GB, free: 416 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006546/0.1786, allocations: 357.1 kB / 0.4909 GB, free: 56 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.1798, allocations: 462.5 kB / 0.4914 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005612/0.1804, allocations: 334.6 kB / 0.4917 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.291e-05/0.1805, allocations: 24 kB / 0.4917 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.1821, allocations: 0.515 MB / 0.4922 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.1823, allocations: 131.5 kB / 0.4924 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.1825, allocations: 145.4 kB / 0.4925 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.1836, allocations: 0.7641 MB / 0.4932 GB, free: 13.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1836, allocations: 4 kB / 0.4932 GB, free: 13.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.1836, allocations: 0 / 0.4932 GB, free: 13.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1836, allocations: 0 / 0.4932 GB, free: 13.69 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.001837/0.1855, allocations: 0.8821 MB / 0.4941 GB, free: 12.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.1855, allocations: 8.031 kB / 0.4941 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003896/0.1859, allocations: 87.17 kB / 0.4942 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008125/0.1867, allocations: 472.6 kB / 0.4947 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.1868, allocations: 33 kB / 0.4947 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.619e-05/0.1869, allocations: 47.95 kB / 0.4947 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.1879, allocations: 0.6494 MB / 0.4954 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.1879, allocations: 4 kB / 0.4954 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-05/0.188, allocations: 24 kB / 0.4954 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.188, allocations: 8 kB / 0.4954 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007702/0.1888, allocations: 0.5269 MB / 0.4959 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003643/0.1924, allocations: 3.167 MB / 0.499 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/0.1928, allocations: 234.6 kB / 0.4992 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000557/0.1934, allocations: 340.4 kB / 0.4996 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004732/0.1939, allocations: 298.6 kB / 0.4998 GB, free: 6.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.094e-06/0.1939, allocations: 0 / 0.4998 GB, free: 6.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001006/0.1949, allocations: 0.6094 MB / 0.5004 GB, free: 5.848 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002955/0.1952, allocations: 298.7 kB / 0.5007 GB, free: 5.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006083/0.1958, allocations: 0.5458 MB / 0.5013 GB, free: 4.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.1959, allocations: 33.7 kB / 0.5013 GB, free: 4.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/0.1961, allocations: 343 kB / 0.5016 GB, free: 4.551 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.761e-05/0.1962, allocations: 94.75 kB / 0.5017 GB, free: 4.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.1963, allocations: 8 kB / 0.5017 GB, free: 4.449 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1964, allocations: 366.8 kB / 0.5021 GB, free: 4.082 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.1967, allocations: 157 kB / 0.5022 GB, free: 3.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004681/0.1972, allocations: 384.9 kB / 0.5026 GB, free: 3.453 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003351/0.1975, allocations: 229.5 kB / 0.5028 GB, free: 3.223 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1975, allocations: 4 kB / 0.5028 GB, free: 3.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001018/0.1985, allocations: 0.6351 MB / 0.5034 GB, free: 2.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001287/0.1998, allocations: 2.138 MB / 0.5055 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.1999, allocations: 4 kB / 0.5055 GB, free: 264 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.1999, allocations: 12 kB / 0.5055 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.2013, allocations: 199.6 kB / 0.5057 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2601/0.4614, allocations: 0.6199 MB / 0.5063 GB, free: 41.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008127/0.4622, allocations: 76.67 kB / 0.5064 GB, free: 41.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.424e-05/0.4624, allocations: 34.38 kB / 0.5064 GB, free: 41.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.4624, allocations: 4.75 kB / 0.5064 GB, free: 41.5 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001083/0.4635, allocations: 0.5498 MB / 0.507 GB, free: 41.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.4635, allocations: 5.344 kB / 0.507 GB, free: 41.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.4635, allocations: 13.86 kB / 0.507 GB, free: 41.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004204/0.4639, allocations: 116.8 kB / 0.5071 GB, free: 41.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.464, allocations: 13.78 kB / 0.5071 GB, free: 41.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004988/0.4645, allocations: 68.22 kB / 0.5072 GB, free: 41.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.974e-05/0.4645, allocations: 30.91 kB / 0.5072 GB, free: 41.45 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 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003799/0.4649, allocations: 301.9 kB / 0.5075 GB, free: 41.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.465, allocations: 63.47 kB / 0.5076 GB, free: 41.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.4665, allocations: 0.7849 MB / 0.5083 GB, free: 41.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.4665, allocations: 7.953 kB / 0.5083 GB, free: 41.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4665, allocations: 1.906 kB / 0.5083 GB, free: 41.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.4665, allocations: 1.875 kB / 0.5083 GB, free: 41.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007689/0.4673, allocations: 0.5368 MB / 0.5089 GB, free: 40.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.4673, allocations: 3.938 kB / 0.5089 GB, free: 40.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006643/0.468, allocations: 120.7 kB / 0.509 GB, free: 40.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.468, allocations: 2.188 kB / 0.509 GB, free: 40.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.795e-05/0.4681, allocations: 15.78 kB / 0.509 GB, free: 40.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002412/0.4683, allocations: 0.5935 MB / 0.5096 GB, free: 40.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4683, allocations: 3.953 kB / 0.5096 GB, free: 40.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008867/0.4692, allocations: 0.5473 MB / 0.5101 GB, free: 40.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003156/0.4695, allocations: 224.8 kB / 0.5103 GB, free: 40.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.4697, allocations: 13.47 kB / 0.5103 GB, free: 40.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.47, allocations: 25.95 kB / 0.5104 GB, free: 40.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.447e-05/0.47, allocations: 33.97 kB / 0.5104 GB, free: 40.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.4701, allocations: 19.7 kB / 0.5104 GB, free: 40.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005048/0.4706, allocations: 416.9 kB / 0.5108 GB, free: 39.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4706, allocations: 0 / 0.5108 GB, free: 39.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001358/0.472, allocations: 420.5 kB / 0.5112 GB, free: 39.91 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007624/0.4727, allocations: 338 kB / 0.5115 GB, free: 39.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002643/0.4754, allocations: 0.9624 MB / 0.5125 GB, free: 39.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.4754, allocations: 1.719 kB / 0.5125 GB, free: 39.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009755/0.4764, allocations: 390.2 kB / 0.5128 GB, free: 39.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.4778, allocations: 262.5 kB / 0.5131 GB, free: 39.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.4797, allocations: 1.278 MB / 0.5143 GB, free: 38.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.4801, allocations: 0.9167 MB / 0.5152 GB, free: 37.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007643/0.4809, allocations: 212.3 kB / 0.5154 GB, free: 37.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.481, allocations: 72.55 kB / 0.5155 GB, free: 37.88 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.481, allocations: 0 / 0.5155 GB, free: 37.88 MB / 382.1 MB Notification: Performance of Templates: time 0.03082/0.5119, allocations: 14.19 MB / 0.5294 GB, free: 32.54 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","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches