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.001451/0.001451, allocations: 112.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001766/0.001766, allocations: 207.9 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2191/0.2191, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 71.88 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3047, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.01926/0.324, allocations: 17.17 MB / 0.5484 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006024/0.33, allocations: 4.394 MB / 0.5527 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006703/0.3307, allocations: 15.88 kB / 0.5527 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008723/0.3317, allocations: 294 kB / 0.553 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001881/0.3335, allocations: 0.7382 MB / 0.5537 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.3362, allocations: 0.9921 MB / 0.5547 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001956/0.3382, allocations: 1.458 MB / 0.5561 GB, free: 8.602 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006748/0.3388, allocations: 426 kB / 0.5565 GB, free: 8.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.3399, allocations: 0.5644 MB / 0.5571 GB, free: 7.613 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008591/0.3407, allocations: 446.1 kB / 0.5575 GB, free: 7.176 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.3409, allocations: 52 kB / 0.5576 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.3423, allocations: 0.6319 MB / 0.5582 GB, free: 6.492 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000213/0.3425, allocations: 163.4 kB / 0.5583 GB, free: 6.332 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004187/0.3429, allocations: 358.2 kB / 0.5587 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.3445, allocations: 1.108 MB / 0.5598 GB, free: 4.871 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3445, allocations: 0 / 0.5598 GB, free: 4.871 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3445, allocations: 4 kB / 0.5598 GB, free: 4.867 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.024e-05/0.3446, allocations: 0 / 0.5598 GB, free: 4.867 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.001777/0.3463, allocations: 1.022 MB / 0.5608 GB, free: 3.789 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3464, allocations: 12.03 kB / 0.5608 GB, free: 3.777 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003601/0.3468, allocations: 88.02 kB / 0.5609 GB, free: 3.691 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007862/0.3476, allocations: 0.5016 MB / 0.5613 GB, free: 3.148 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.3476, allocations: 29.38 kB / 0.5614 GB, free: 3.121 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.489e-05/0.3477, allocations: 48.38 kB / 0.5614 GB, free: 3.074 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.3488, allocations: 0.6572 MB / 0.5621 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.3488, allocations: 0 / 0.5621 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.93e-05/0.3489, allocations: 24 kB / 0.5621 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.3489, allocations: 16 kB / 0.5621 GB, free: 2.328 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007821/0.3497, allocations: 0.5346 MB / 0.5626 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003414/0.3531, allocations: 3.089 MB / 0.5656 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.3535, allocations: 233.7 kB / 0.5659 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.3538, allocations: 153 kB / 0.566 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002451/0.354, allocations: 336.4 kB / 0.5663 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004062/0.3544, allocations: 302.8 kB / 0.5666 GB, free: 13.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.933e-06/0.3545, allocations: 4 kB / 0.5666 GB, free: 13.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=28): time 0.001025/0.3555, allocations: 0.5352 MB / 0.5671 GB, free: 12.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.3556, allocations: 294.7 kB / 0.5674 GB, free: 12.49 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007043/0.3563, allocations: 0.5575 MB / 0.568 GB, free: 11.92 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.494e-05/0.3564, allocations: 33.7 kB / 0.568 GB, free: 11.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.3567, allocations: 339 kB / 0.5683 GB, free: 11.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.372e-05/0.3568, allocations: 94.67 kB / 0.5684 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.357, allocations: 134 kB / 0.5685 GB, free: 11.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3571, allocations: 366.8 kB / 0.5689 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.3574, allocations: 171 kB / 0.5691 GB, free: 10.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004228/0.3578, allocations: 384.9 kB / 0.5694 GB, free: 10.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006723/0.3585, allocations: 0.558 MB / 0.57 GB, free: 9.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3585, allocations: 0 / 0.57 GB, free: 9.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001037/0.3596, allocations: 0.6352 MB / 0.5706 GB, free: 9.012 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.3596, allocations: 41.81 kB / 0.5706 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.3596, allocations: 8 kB / 0.5706 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.3597, allocations: 8 kB / 0.5706 GB, free: 8.949 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.3609, allocations: 191.7 kB / 0.5708 GB, free: 8.762 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004384/0.3614, allocations: 0.6366 MB / 0.5714 GB, free: 8.102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004459/0.3619, allocations: 63.28 kB / 0.5715 GB, free: 8.039 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.88e-05/0.3619, allocations: 31.98 kB / 0.5715 GB, free: 8.008 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003842/0.3623, allocations: 289.2 kB / 0.5718 GB, free: 7.719 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004792/0.3628, allocations: 381 kB / 0.5722 GB, free: 7.254 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007389/0.3636, allocations: 0.5384 MB / 0.5727 GB, free: 6.629 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.976e-06/0.3636, allocations: 4 kB / 0.5727 GB, free: 6.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=61) (initialization_lambda0): time 0.0009399/0.3645, allocations: 0.6115 MB / 0.5733 GB, free: 6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.3646, allocations: 44.05 kB / 0.5733 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3646, allocations: 7.938 kB / 0.5734 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-06/0.3646, allocations: 11.94 kB / 0.5734 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.365, allocations: 123.8 kB / 0.5735 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.365, allocations: 11.94 kB / 0.5735 GB, free: 5.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004485/0.3654, allocations: 44.09 kB / 0.5735 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/0.3655, allocations: 31.98 kB / 0.5736 GB, free: 5.727 MB / 430.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.0002111/0.3657, allocations: 257.7 kB / 0.5738 GB, free: 5.461 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.3658, allocations: 63.19 kB / 0.5739 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.3671, allocations: 0.7722 MB / 0.5746 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.3671, allocations: 3.984 kB / 0.5746 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3671, allocations: 0 / 0.5746 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000319/0.3675, allocations: 200.1 kB / 0.5748 GB, free: 4.434 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.3676, allocations: 19.91 kB / 0.5748 GB, free: 4.414 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.3679, allocations: 11.98 kB / 0.5748 GB, free: 4.402 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.69e-05/0.368, allocations: 28.3 kB / 0.5749 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009519/0.3689, allocations: 0.6525 MB / 0.5755 GB, free: 3.691 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001211/0.3701, allocations: 0.9011 MB / 0.5764 GB, free: 2.766 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002771/0.3704, allocations: 217.3 kB / 0.5766 GB, free: 2.555 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004525/0.3709, allocations: 415.1 kB / 0.577 GB, free: 2.148 MB / 430.1 MB Notification: Performance of Backend: time 4.01e-07/0.3709, allocations: 4 kB / 0.577 GB, free: 2.145 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003489/0.3744, allocations: 1.125 MB / 0.5781 GB, free: 1 MB / 430.1 MB Notification: Performance of SimCode: time 0.002891/0.3773, allocations: 1.654 MB / 0.5797 GB, free: 15.28 MB / 446.1 MB Notification: Performance of Templates: time 0.02775/0.4051, allocations: 17.18 MB / 0.5965 GB, free: 14.2 MB / 462.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