Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001058/0.001058, allocations: 118.9 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001068/0.001069, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2087/0.2087, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 79.88 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2707, allocations: 62.43 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001485/0.2722, allocations: 489.7 kB / 0.5321 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.274, allocations: 1.405 MB / 0.5335 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.65e-05/0.274, allocations: 3.938 kB / 0.5335 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.145e-05/0.2741, allocations: 0 / 0.5335 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.949e-05/0.2741, allocations: 5.031 kB / 0.5335 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006947/0.2748, allocations: 228.1 kB / 0.5337 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.965e-05/0.2749, allocations: 12.55 kB / 0.5337 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.286e-05/0.2749, allocations: 1.25 kB / 0.5337 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.583e-05/0.2749, allocations: 2.562 kB / 0.5337 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.449e-05/0.275, allocations: 2.594 kB / 0.5337 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.275, allocations: 4 kB / 0.5337 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004685/0.2755, allocations: 288.8 kB / 0.534 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.2755, allocations: 0 / 0.534 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.978e-05/0.2755, allocations: 9.609 kB / 0.534 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.2757, allocations: 137.3 kB / 0.5341 GB, free: 11.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2757, allocations: 5.859 kB / 0.5342 GB, free: 11.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2758, allocations: 0 / 0.5342 GB, free: 11.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.2758, allocations: 0 / 0.5342 GB, free: 11.68 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000339/0.2761, allocations: 335.2 kB / 0.5345 GB, free: 11.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2761, allocations: 13.09 kB / 0.5345 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.2762, allocations: 0.9375 kB / 0.5345 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.745e-05/0.2763, allocations: 162.2 kB / 0.5346 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.2763, allocations: 8.312 kB / 0.5346 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.2763, allocations: 1.531 kB / 0.5347 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.391e-05/0.2764, allocations: 39.72 kB / 0.5347 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.2764, allocations: 3.938 kB / 0.5347 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.2764, allocations: 0 / 0.5347 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.2764, allocations: 1.188 kB / 0.5347 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.098e-05/0.2765, allocations: 8.5 kB / 0.5347 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.2768, allocations: 244.8 kB / 0.5349 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.522e-05/0.2769, allocations: 23.52 kB / 0.535 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.75e-05/0.2769, allocations: 10.95 kB / 0.535 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/0.2769, allocations: 0 / 0.535 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.2769, allocations: 35.53 kB / 0.535 GB, free: 10.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.2769, allocations: 5.125 kB / 0.535 GB, free: 10.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001339/0.2771, allocations: 38.78 kB / 0.535 GB, free: 10.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.2771, allocations: 52.25 kB / 0.5351 GB, free: 10.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.924e-05/0.2772, allocations: 96.92 kB / 0.5352 GB, free: 10.49 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.2772, allocations: 29.64 kB / 0.5352 GB, free: 10.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.2772, allocations: 89.73 kB / 0.5353 GB, free: 10.37 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.811e-06/0.2773, allocations: 3.906 kB / 0.5353 GB, free: 10.37 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.2773, allocations: 21.33 kB / 0.5353 GB, free: 10.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.2774, allocations: 316.1 kB / 0.5356 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/0.2774, allocations: 2.094 kB / 0.5356 GB, free: 10.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.259e-05/0.2775, allocations: 17.77 kB / 0.5356 GB, free: 10 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.717e-05/0.2775, allocations: 36.66 kB / 0.5357 GB, free: 9.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2775, allocations: 4 kB / 0.5357 GB, free: 9.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.125e-05/0.2776, allocations: 46.33 kB / 0.5357 GB, free: 9.922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.2776, allocations: 5.281 kB / 0.5357 GB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2776, allocations: 1.031 kB / 0.5357 GB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.2776, allocations: 1.406 kB / 0.5357 GB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.753e-05/0.2777, allocations: 9.297 kB / 0.5357 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.2777, allocations: 1.375 kB / 0.5357 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.654e-05/0.2777, allocations: 1.062 kB / 0.5357 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.2777, allocations: 1.25 kB / 0.5357 GB, free: 9.918 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.964e-05/0.2778, allocations: 116.6 kB / 0.5359 GB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.2778, allocations: 0 / 0.5359 GB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.534e-05/0.2779, allocations: 53.08 kB / 0.5359 GB, free: 9.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2779, allocations: 0 / 0.5359 GB, free: 9.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2779, allocations: 1.375 kB / 0.5359 GB, free: 9.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.278, allocations: 82.39 kB / 0.536 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.278, allocations: 4.031 kB / 0.536 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.57e-05/0.2781, allocations: 1.375 kB / 0.536 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.194e-05/0.2781, allocations: 5.312 kB / 0.536 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.58e-05/0.2781, allocations: 110.5 kB / 0.5361 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001107/0.2783, allocations: 205.7 kB / 0.5363 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.573e-05/0.2783, allocations: 10.75 kB / 0.5363 GB, free: 9.316 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.955e-05/0.2783, allocations: 88.58 kB / 0.5364 GB, free: 9.23 MB / 398.1 MB Notification: Performance of Backend: time 2.6e-07/0.2783, allocations: 0 / 0.5364 GB, free: 9.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00046/0.2788, allocations: 115.4 kB / 0.5365 GB, free: 9.156 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003577/0.2792, allocations: 0.5638 MB / 0.5371 GB, free: 8.547 MB / 398.1 MB Notification: Performance of Templates: time 0.003183/0.2824, allocations: 1.103 MB / 0.5381 GB, free: 7.965 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches