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.001095/0.001095, allocations: 112.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.001221/0.001221, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2186/0.2186, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 75.88 kB / 482 MB, free: 4.117 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3157, allocations: 62.43 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.00144/0.3172, allocations: 499.9 kB / 0.5321 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.3189, allocations: 1.414 MB / 0.5335 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.335e-05/0.319, allocations: 0 / 0.5335 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.195e-05/0.319, allocations: 0 / 0.5335 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.757e-05/0.319, allocations: 0 / 0.5335 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006558/0.3197, allocations: 230.9 kB / 0.5337 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.307e-05/0.3197, allocations: 5.5 kB / 0.5337 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.508e-05/0.3198, allocations: 1.375 kB / 0.5337 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.59e-05/0.3198, allocations: 1.375 kB / 0.5337 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.645e-05/0.3199, allocations: 6.734 kB / 0.5337 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.3199, allocations: 0 / 0.5337 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000431/0.3203, allocations: 288.6 kB / 0.534 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.3203, allocations: 3.984 kB / 0.534 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.3204, allocations: 9.297 kB / 0.534 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.3206, allocations: 146.2 kB / 0.5342 GB, free: 11.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3206, allocations: 0 / 0.5342 GB, free: 11.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3206, allocations: 1.375 kB / 0.5342 GB, free: 11.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.3206, allocations: 0 / 0.5342 GB, free: 11.7 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.000328/0.321, allocations: 334.5 kB / 0.5345 GB, free: 11.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.321, allocations: 9.625 kB / 0.5345 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.321, allocations: 6.312 kB / 0.5345 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.385e-05/0.3211, allocations: 160.4 kB / 0.5346 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.3211, allocations: 4.359 kB / 0.5347 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-06/0.3212, allocations: 1.75 kB / 0.5347 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.3213, allocations: 43.5 kB / 0.5347 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.3213, allocations: 5.312 kB / 0.5347 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.3213, allocations: 0 / 0.5347 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3213, allocations: 3.938 kB / 0.5347 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.005e-05/0.3213, allocations: 9.484 kB / 0.5347 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003373/0.3217, allocations: 247.8 kB / 0.535 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.407e-05/0.3217, allocations: 17.33 kB / 0.535 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.425e-05/0.3218, allocations: 6.234 kB / 0.535 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.3218, allocations: 0 / 0.535 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.3218, allocations: 35.92 kB / 0.535 GB, free: 10.71 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.3218, allocations: 3.938 kB / 0.535 GB, free: 10.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001373/0.322, allocations: 43.11 kB / 0.5351 GB, free: 10.67 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.322, allocations: 52.78 kB / 0.5351 GB, free: 10.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.194e-05/0.3221, allocations: 92.61 kB / 0.5352 GB, free: 10.51 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.3221, allocations: 25.7 kB / 0.5352 GB, free: 10.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/0.3221, allocations: 89.3 kB / 0.5353 GB, free: 10.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.623e-06/0.3221, allocations: 5.281 kB / 0.5353 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.3222, allocations: 16.47 kB / 0.5353 GB, free: 10.37 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.3223, allocations: 316.5 kB / 0.5356 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.11e-05/0.3223, allocations: 1.375 kB / 0.5356 GB, free: 10.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.131e-05/0.3223, allocations: 26.69 kB / 0.5356 GB, free: 10.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.608e-05/0.3224, allocations: 31.95 kB / 0.5357 GB, free: 9.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3224, allocations: 0 / 0.5357 GB, free: 9.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.904e-05/0.3225, allocations: 55.06 kB / 0.5357 GB, free: 9.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.3225, allocations: 4.5 kB / 0.5357 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3225, allocations: 2.094 kB / 0.5357 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.3225, allocations: 0 / 0.5357 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.594e-05/0.3226, allocations: 5.125 kB / 0.5357 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.3226, allocations: 1.594 kB / 0.5357 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.739e-05/0.3226, allocations: 5.375 kB / 0.5358 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.3226, allocations: 1.625 kB / 0.5358 GB, free: 9.934 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.464e-05/0.3227, allocations: 119.1 kB / 0.5359 GB, free: 9.809 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.3227, allocations: 1.281 kB / 0.5359 GB, free: 9.809 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.3228, allocations: 40.38 kB / 0.5359 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3228, allocations: 1.125 kB / 0.5359 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3228, allocations: 1.281 kB / 0.5359 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/0.3229, allocations: 81.02 kB / 0.536 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.3229, allocations: 1.156 kB / 0.536 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.114e-05/0.323, allocations: 9.109 kB / 0.536 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.323, allocations: 4.031 kB / 0.536 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.494e-05/0.3231, allocations: 119.4 kB / 0.5361 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.968e-05/0.3232, allocations: 209.8 kB / 0.5363 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.318e-05/0.3232, allocations: 1.688 kB / 0.5363 GB, free: 9.332 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.397e-05/0.3232, allocations: 86 kB / 0.5364 GB, free: 9.25 MB / 398.1 MB Notification: Performance of Backend: time 2e-07/0.3232, allocations: 0 / 0.5364 GB, free: 9.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004848/0.3237, allocations: 127 kB / 0.5365 GB, free: 9.164 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003804/0.3241, allocations: 0.5565 MB / 0.5371 GB, free: 8.562 MB / 398.1 MB Notification: Performance of Templates: time 0.003247/0.3274, allocations: 1.099 MB / 0.5381 GB, free: 7.98 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