Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 110.8 kB / 21.19 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 211.6 kB / 24.49 MB, free: 3.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.424/1.424, allocations: 230.6 MB / 258.3 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2443/0.2443, allocations: 46.96 MB / 361.6 MB, free: 4.074 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 63.89 kB / 0.4973 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2845, allocations: 66.04 MB / 0.5618 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001577/0.2861, allocations: 495.3 kB / 0.5623 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.288, allocations: 1.354 MB / 0.5636 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.288, allocations: 0 / 0.5636 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.195e-05/0.288, allocations: 3.938 kB / 0.5636 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.854e-05/0.288, allocations: 0 / 0.5636 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006676/0.2887, allocations: 219.8 kB / 0.5638 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.199e-05/0.2887, allocations: 8 kB / 0.5638 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.266e-05/0.2888, allocations: 4 kB / 0.5638 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.33e-05/0.2888, allocations: 0 / 0.5638 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.978e-05/0.2888, allocations: 11.98 kB / 0.5638 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.2888, allocations: 0 / 0.5638 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004391/0.2893, allocations: 275.6 kB / 0.5641 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.2893, allocations: 7.984 kB / 0.5641 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.947e-05/0.2893, allocations: 3.938 kB / 0.5641 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.2895, allocations: 142 kB / 0.5642 GB, free: 1.684 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2895, allocations: 4 kB / 0.5643 GB, free: 1.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2895, allocations: 0 / 0.5643 GB, free: 1.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.2895, allocations: 0 / 0.5643 GB, free: 1.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.0003355/0.2899, allocations: 258.3 kB / 0.5645 GB, free: 1.398 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.2899, allocations: 12.03 kB / 0.5645 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.2899, allocations: 4.891 kB / 0.5645 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.167e-05/0.29, allocations: 106.5 kB / 0.5646 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.29, allocations: 4.312 kB / 0.5646 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/0.29, allocations: 384 / 0.5646 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.2902, allocations: 71.64 kB / 0.5647 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.2902, allocations: 4 kB / 0.5647 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.2902, allocations: 0 / 0.5647 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.2902, allocations: 0 / 0.5647 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.73e-05/0.2902, allocations: 4 kB / 0.5647 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.2905, allocations: 200.6 kB / 0.5649 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.157e-05/0.2906, allocations: 22.52 kB / 0.5649 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.538e-05/0.2906, allocations: 8.797 kB / 0.5649 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/0.2906, allocations: 0 / 0.5649 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.2906, allocations: 30.56 kB / 0.5649 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.2906, allocations: 4 kB / 0.565 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001338/0.2908, allocations: 37.7 kB / 0.565 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.2908, allocations: 51.41 kB / 0.565 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.312e-05/0.2909, allocations: 97.84 kB / 0.5651 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.2909, allocations: 25.95 kB / 0.5652 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/0.2909, allocations: 92.03 kB / 0.5652 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.137e-05/0.291, allocations: 11.95 kB / 0.5653 GB, free: 0.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.291, allocations: 13.72 kB / 0.5653 GB, free: 492 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2911, allocations: 310.8 kB / 0.5656 GB, free: 172 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.2911, allocations: 7.922 kB / 0.5656 GB, free: 164 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.114e-05/0.2912, allocations: 22.58 kB / 0.5656 GB, free: 132 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.94e-05/0.2912, allocations: 22.58 kB / 0.5656 GB, free: 100 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2912, allocations: 0 / 0.5656 GB, free: 100 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.642e-05/0.2913, allocations: 57.56 kB / 0.5657 GB, free: 36 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.2913, allocations: 8 kB / 0.5657 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.2913, allocations: 0 / 0.5657 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.2913, allocations: 0 / 0.5657 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.563e-05/0.2914, allocations: 11.94 kB / 0.5657 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.2914, allocations: 4 kB / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.575e-05/0.2914, allocations: 0 / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.2914, allocations: 0 / 0.5657 GB, free: 12 kB / 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 9.709e-05/0.2915, allocations: 121.8 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.2915, allocations: 4.094 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.2916, allocations: 40.94 kB / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2916, allocations: 0 / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.2916, allocations: 11.92 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-06/0.2916, allocations: 4 kB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.677e-06/0.2916, allocations: 0 / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.757e-05/0.2917, allocations: 0 / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.2917, allocations: 7.938 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.055e-05/0.2918, allocations: 113 kB / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001349/0.2919, allocations: 210.8 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.483e-05/0.2919, allocations: 4 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.846e-05/0.292, allocations: 75.28 kB / 0.5663 GB, free: 15.39 MB / 414.1 MB Notification: Performance of Backend: time 1.6e-07/0.292, allocations: 0 / 0.5663 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000489/0.2925, allocations: 126.2 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of SimCode: time 0.000393/0.2928, allocations: 0.5586 MB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of Templates: time 0.003513/0.2964, allocations: 1.107 MB / 0.568 GB, free: 13.54 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.751778744997864]