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.001486/0.001486, allocations: 108.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001665/0.001665, allocations: 210.8 kB / 19.42 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2076/0.2076, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 75.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2899, allocations: 62.42 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.01722/0.3071, allocations: 17.16 MB / 0.5484 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0061/0.3133, allocations: 4.392 MB / 0.5527 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006211/0.3139, allocations: 15.88 kB / 0.5527 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000874/0.3148, allocations: 294 kB / 0.553 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.3168, allocations: 0.7577 MB / 0.5537 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002539/0.3194, allocations: 0.9868 MB / 0.5547 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001715/0.3211, allocations: 1.45 MB / 0.5561 GB, free: 8.613 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006759/0.3218, allocations: 440.6 kB / 0.5565 GB, free: 8.184 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.3228, allocations: 0.5605 MB / 0.5571 GB, free: 7.621 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006902/0.3235, allocations: 450.1 kB / 0.5575 GB, free: 7.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.3236, allocations: 48 kB / 0.5576 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.3249, allocations: 0.6553 MB / 0.5582 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.3251, allocations: 163.4 kB / 0.5584 GB, free: 6.316 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004016/0.3255, allocations: 350.3 kB / 0.5587 GB, free: 5.973 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.3271, allocations: 1.165 MB / 0.5598 GB, free: 4.805 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.3271, allocations: 0 / 0.5598 GB, free: 4.805 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3271, allocations: 0 / 0.5598 GB, free: 4.805 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.808e-05/0.3271, allocations: 4 kB / 0.5598 GB, free: 4.801 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.001609/0.3287, allocations: 1.04 MB / 0.5609 GB, free: 3.703 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3288, allocations: 8.031 kB / 0.5609 GB, free: 3.695 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003498/0.3291, allocations: 80.52 kB / 0.5609 GB, free: 3.617 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007664/0.3299, allocations: 0.5097 MB / 0.5614 GB, free: 3.066 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.33, allocations: 41.31 kB / 0.5615 GB, free: 3.027 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.816e-05/0.33, allocations: 44.38 kB / 0.5615 GB, free: 2.984 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009165/0.331, allocations: 0.6534 MB / 0.5622 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.331, allocations: 3.938 kB / 0.5622 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.445e-05/0.331, allocations: 24 kB / 0.5622 GB, free: 2.254 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.3311, allocations: 12 kB / 0.5622 GB, free: 2.242 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007479/0.3318, allocations: 0.5308 MB / 0.5627 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00326/0.3351, allocations: 3.101 MB / 0.5657 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003858/0.3355, allocations: 234.6 kB / 0.566 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.3357, allocations: 149 kB / 0.5661 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/0.336, allocations: 340.4 kB / 0.5664 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004037/0.3364, allocations: 306.8 kB / 0.5667 GB, free: 13.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.964e-06/0.3364, allocations: 0 / 0.5667 GB, free: 13.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=28): time 0.0009409/0.3373, allocations: 0.5356 MB / 0.5672 GB, free: 12.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.3375, allocations: 294.7 kB / 0.5675 GB, free: 12.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005981/0.3381, allocations: 0.5576 MB / 0.5681 GB, free: 11.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.142e-05/0.3381, allocations: 33.7 kB / 0.5681 GB, free: 11.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.3384, allocations: 347.8 kB / 0.5684 GB, free: 11.44 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.689e-05/0.3385, allocations: 99.2 kB / 0.5685 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.3386, allocations: 126.1 kB / 0.5686 GB, free: 11.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3388, allocations: 366.8 kB / 0.569 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/0.3391, allocations: 175 kB / 0.5692 GB, free: 10.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000427/0.3395, allocations: 388.9 kB / 0.5695 GB, free: 10.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006645/0.3402, allocations: 0.555 MB / 0.5701 GB, free: 9.555 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.3402, allocations: 4 kB / 0.5701 GB, free: 9.551 MB / 430.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009948/0.3412, allocations: 0.6388 MB / 0.5707 GB, free: 8.898 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.651e-05/0.3413, allocations: 41.69 kB / 0.5707 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.3413, allocations: 11.98 kB / 0.5708 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.3413, allocations: 8.719 kB / 0.5708 GB, free: 8.832 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.3426, allocations: 191.7 kB / 0.5709 GB, free: 8.645 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004477/0.343, allocations: 0.6249 MB / 0.5716 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/0.3435, allocations: 67.59 kB / 0.5716 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.067e-05/0.3435, allocations: 32 kB / 0.5717 GB, free: 7.898 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003791/0.3439, allocations: 293.2 kB / 0.5719 GB, free: 7.605 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004022/0.3443, allocations: 380.9 kB / 0.5723 GB, free: 7.141 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000619/0.345, allocations: 0.5345 MB / 0.5728 GB, free: 6.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.865e-06/0.345, allocations: 7.938 kB / 0.5728 GB, free: 6.512 MB / 430.1 MB Notification: Performance of matching and sorting (n=61) (initialization_lambda0): time 0.0009942/0.346, allocations: 0.6199 MB / 0.5734 GB, free: 5.879 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.346, allocations: 43.72 kB / 0.5735 GB, free: 5.832 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.346, allocations: 12 kB / 0.5735 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.3461, allocations: 8 kB / 0.5735 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.3464, allocations: 115.8 kB / 0.5736 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.3464, allocations: 8 kB / 0.5736 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000474/0.3469, allocations: 51.72 kB / 0.5737 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.037e-05/0.347, allocations: 31.98 kB / 0.5737 GB, free: 5.609 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.0002182/0.3472, allocations: 259.6 kB / 0.5739 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.3473, allocations: 71.56 kB / 0.574 GB, free: 5.277 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.3486, allocations: 0.7705 MB / 0.5748 GB, free: 4.535 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3486, allocations: 0 / 0.5748 GB, free: 4.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3486, allocations: 0 / 0.5748 GB, free: 4.535 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002333/0.3489, allocations: 204.5 kB / 0.575 GB, free: 4.316 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.349, allocations: 23.89 kB / 0.575 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.3492, allocations: 8 kB / 0.575 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/0.3493, allocations: 28.3 kB / 0.575 GB, free: 4.258 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000916/0.3502, allocations: 0.6486 MB / 0.5756 GB, free: 3.578 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001101/0.3514, allocations: 0.9132 MB / 0.5765 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003066/0.3517, allocations: 221.2 kB / 0.5767 GB, free: 2.426 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004527/0.3521, allocations: 415.1 kB / 0.5771 GB, free: 2.02 MB / 430.1 MB Notification: Performance of Backend: time 4.71e-07/0.3522, allocations: 4 kB / 0.5771 GB, free: 2.016 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003193/0.3554, allocations: 1.108 MB / 0.5782 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of SimCode: time 0.002423/0.3578, allocations: 1.679 MB / 0.5799 GB, free: 15.14 MB / 446.1 MB Notification: Performance of Templates: time 0.02665/0.3845, allocations: 16.83 MB / 0.5963 GB, free: 14.4 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