Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 109.1 kB / 17.09 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001112, allocations: 198.2 kB / 18.02 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.279/1.279, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.196/0.196, allocations: 43.53 MB / 314.8 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 67.88 kB / 442.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1018, allocations: 57.79 MB / 0.4886 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.01793/0.1198, allocations: 17.05 MB / 0.5052 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005754/0.1256, allocations: 4.393 MB / 0.5095 GB, free: 6.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005623/0.1262, allocations: 19.88 kB / 0.5095 GB, free: 6.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008559/0.1271, allocations: 286 kB / 0.5098 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001763/0.1289, allocations: 0.7459 MB / 0.5105 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.1313, allocations: 0.9894 MB / 0.5115 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001697/0.133, allocations: 1.439 MB / 0.5129 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007131/0.1338, allocations: 421.9 kB / 0.5133 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009746/0.1347, allocations: 0.5682 MB / 0.5138 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007373/0.1355, allocations: 450.1 kB / 0.5143 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.1356, allocations: 52 kB / 0.5143 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.1369, allocations: 0.6319 MB / 0.5149 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.1371, allocations: 155.4 kB / 0.5151 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004312/0.1375, allocations: 346.3 kB / 0.5154 GB, free: 204 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.1391, allocations: 1.118 MB / 0.5165 GB, free: 15.08 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1391, allocations: 0 / 0.5165 GB, free: 15.08 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1391, allocations: 0 / 0.5165 GB, free: 15.08 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.345e-05/0.1392, allocations: 7.938 kB / 0.5165 GB, free: 15.07 MB / 414.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.00172/0.1409, allocations: 1.014 MB / 0.5175 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1409, allocations: 11.89 kB / 0.5175 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003987/0.1413, allocations: 80.17 kB / 0.5176 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007884/0.1421, allocations: 0.5054 MB / 0.5181 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.1422, allocations: 33.38 kB / 0.5181 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.1423, allocations: 48.38 kB / 0.5182 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009771/0.1432, allocations: 0.665 MB / 0.5188 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.1433, allocations: 3.984 kB / 0.5188 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.975e-05/0.1433, allocations: 24 kB / 0.5188 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.1433, allocations: 12 kB / 0.5189 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00079/0.1441, allocations: 0.5269 MB / 0.5194 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00345/0.1476, allocations: 3.105 MB / 0.5224 GB, free: 8.715 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003992/0.148, allocations: 226.6 kB / 0.5226 GB, free: 8.484 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.1483, allocations: 153 kB / 0.5228 GB, free: 8.332 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002822/0.1485, allocations: 340.3 kB / 0.5231 GB, free: 7.926 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004218/0.149, allocations: 306.7 kB / 0.5234 GB, free: 7.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.294e-06/0.149, allocations: 0 / 0.5234 GB, free: 7.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.0009588/0.15, allocations: 0.5386 MB / 0.5239 GB, free: 7.039 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.1501, allocations: 294.7 kB / 0.5242 GB, free: 6.684 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005871/0.1507, allocations: 0.5575 MB / 0.5247 GB, free: 6.117 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.132e-05/0.1508, allocations: 37.7 kB / 0.5248 GB, free: 6.074 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.151, allocations: 335 kB / 0.5251 GB, free: 5.742 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.153e-05/0.1511, allocations: 90.73 kB / 0.5252 GB, free: 5.652 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.1513, allocations: 134 kB / 0.5253 GB, free: 5.516 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1514, allocations: 366.8 kB / 0.5256 GB, free: 5.148 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.1517, allocations: 167 kB / 0.5258 GB, free: 4.984 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000432/0.1521, allocations: 396.9 kB / 0.5262 GB, free: 4.496 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006775/0.1528, allocations: 0.5504 MB / 0.5267 GB, free: 3.859 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.1528, allocations: 0 / 0.5267 GB, free: 3.859 MB / 414.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001015/0.1539, allocations: 0.6423 MB / 0.5274 GB, free: 3.203 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.611e-05/0.1539, allocations: 33.7 kB / 0.5274 GB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.1539, allocations: 8 kB / 0.5274 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/0.154, allocations: 8 kB / 0.5274 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.1552, allocations: 196.4 kB / 0.5276 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004538/0.1557, allocations: 0.6289 MB / 0.5282 GB, free: 2.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004298/0.1562, allocations: 63.28 kB / 0.5283 GB, free: 2.242 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-05/0.1562, allocations: 36.08 kB / 0.5283 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003693/0.1566, allocations: 289.2 kB / 0.5286 GB, free: 1.922 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004143/0.157, allocations: 380.9 kB / 0.5289 GB, free: 1.453 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006414/0.1577, allocations: 0.527 MB / 0.5294 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.697e-06/0.1577, allocations: 0 / 0.5294 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of matching and sorting (n=61) (initialization_lambda0): time 0.0009409/0.1586, allocations: 0.6194 MB / 0.5301 GB, free: 212 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.1587, allocations: 41.69 kB / 0.5301 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1587, allocations: 11.97 kB / 0.5301 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1587, allocations: 8 kB / 0.5301 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.1591, allocations: 119.8 kB / 0.5302 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.1591, allocations: 8 kB / 0.5302 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2023/0.3614, allocations: 46.42 kB / 0.5303 GB, free: 42.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.592e-05/0.3615, allocations: 30.31 kB / 0.5303 GB, free: 42.05 MB / 414.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.0002756/0.3618, allocations: 251.4 kB / 0.5305 GB, free: 41.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.3619, allocations: 63.53 kB / 0.5306 GB, free: 41.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.3633, allocations: 0.7728 MB / 0.5314 GB, free: 41.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.3634, allocations: 2.484 kB / 0.5314 GB, free: 41.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.3634, allocations: 0 / 0.5314 GB, free: 41.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/0.3636, allocations: 197.8 kB / 0.5316 GB, free: 41.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.3637, allocations: 17.36 kB / 0.5316 GB, free: 41.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.364, allocations: 18.06 kB / 0.5316 GB, free: 41.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.891e-05/0.3641, allocations: 27.97 kB / 0.5316 GB, free: 41.62 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008591/0.365, allocations: 0.6454 MB / 0.5322 GB, free: 41.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001054/0.366, allocations: 0.9103 MB / 0.5331 GB, free: 41.12 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000276/0.3663, allocations: 210.8 kB / 0.5333 GB, free: 41.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004998/0.3668, allocations: 418.5 kB / 0.5337 GB, free: 41.02 MB / 414.1 MB Notification: Performance of Backend: time 5.91e-07/0.3668, allocations: 2.938 kB / 0.5337 GB, free: 41.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003295/0.3701, allocations: 1.106 MB / 0.5348 GB, free: 40.82 MB / 414.1 MB Notification: Performance of SimCode: time 0.002239/0.3724, allocations: 1.681 MB / 0.5365 GB, free: 39.85 MB / 414.1 MB Notification: Performance of Templates: time 0.03055/0.4029, allocations: 17.17 MB / 0.5532 GB, free: 34.25 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestSimpleGenericOrifice/TestSimpleGenericOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches