Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001401/0.001401, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001538/0.001538, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.228/0.228, allocations: 46.94 MB / 360.8 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 180] 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.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00239/0.00239, allocations: 75.88 kB / 0.4966 GB, free: 7.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2899, allocations: 66.08 MB / 0.5612 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001624/0.2915, allocations: 0.5226 MB / 0.5617 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004256/0.2919, allocations: 147.5 kB / 0.5618 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.569e-05/0.292, allocations: 0 / 0.5618 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.246e-05/0.292, allocations: 0 / 0.5618 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.2922, allocations: 43.83 kB / 0.5619 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.828e-06/0.2922, allocations: 3.938 kB / 0.5619 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.832e-05/0.2923, allocations: 19.92 kB / 0.5619 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.2923, allocations: 0 / 0.5619 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.06e-05/0.2924, allocations: 15.86 kB / 0.5619 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.388e-05/0.2924, allocations: 15.92 kB / 0.5619 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.2924, allocations: 4 kB / 0.5619 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.2925, allocations: 51.94 kB / 0.562 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.328e-06/0.2925, allocations: 0 / 0.562 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.594e-05/0.2926, allocations: 7.938 kB / 0.562 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.2927, allocations: 42.55 kB / 0.562 GB, free: 3.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2927, allocations: 3.938 kB / 0.562 GB, free: 3.086 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2927, allocations: 0 / 0.562 GB, free: 3.086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.2927, allocations: 0 / 0.562 GB, free: 3.086 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003355/0.293, allocations: 269.9 kB / 0.5623 GB, free: 2.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.2931, allocations: 8.031 kB / 0.5623 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.2931, allocations: 0.9375 kB / 0.5623 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.2932, allocations: 114.5 kB / 0.5624 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.2932, allocations: 8.312 kB / 0.5624 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.2932, allocations: 4.375 kB / 0.5624 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.2934, allocations: 58.19 kB / 0.5625 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.2934, allocations: 192 / 0.5625 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.2934, allocations: 11.94 kB / 0.5625 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2934, allocations: 0 / 0.5625 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.2935, allocations: 51.94 kB / 0.5625 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/0.2937, allocations: 121.3 kB / 0.5626 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.2938, allocations: 82.52 kB / 0.5627 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.254e-05/0.2939, allocations: 24.86 kB / 0.5627 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002248/0.2941, allocations: 27.97 kB / 0.5628 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.2941, allocations: 30.56 kB / 0.5628 GB, free: 2.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.2941, allocations: 0 / 0.5628 GB, free: 2.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002333/0.2944, allocations: 105.7 kB / 0.5629 GB, free: 2.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.2944, allocations: 55.41 kB / 0.5629 GB, free: 2.004 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.967e-05/0.2945, allocations: 93.86 kB / 0.563 GB, free: 1.902 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.2945, allocations: 25.7 kB / 0.5631 GB, free: 1.871 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.2945, allocations: 80.27 kB / 0.5631 GB, free: 1.789 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.314e-05/0.2946, allocations: 39.69 kB / 0.5632 GB, free: 1.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.2946, allocations: 21.72 kB / 0.5632 GB, free: 1.723 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.2948, allocations: 322.8 kB / 0.5635 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.366e-05/0.2948, allocations: 12 kB / 0.5635 GB, free: 1.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.3e-05/0.2948, allocations: 20.36 kB / 0.5635 GB, free: 1.367 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.046e-05/0.2949, allocations: 56.92 kB / 0.5636 GB, free: 1.309 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2949, allocations: 0 / 0.5636 GB, free: 1.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001373/0.2951, allocations: 89.58 kB / 0.5637 GB, free: 1.215 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2951, allocations: 7.984 kB / 0.5637 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2951, allocations: 0 / 0.5637 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.2951, allocations: 7.938 kB / 0.5637 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.709e-05/0.2952, allocations: 12 kB / 0.5637 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2952, allocations: 4 kB / 0.5637 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.539e-05/0.2952, allocations: 3.938 kB / 0.5637 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.2952, allocations: 4 kB / 0.5637 GB, free: 1.176 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 10 * 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 8.062e-05/0.2953, allocations: 113.8 kB / 0.5638 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.2953, allocations: 7.953 kB / 0.5638 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001912/0.2955, allocations: 97.52 kB / 0.5639 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.2955, allocations: 7.938 kB / 0.5639 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2955, allocations: 0 / 0.5639 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2955, allocations: 4 kB / 0.5639 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.2956, allocations: 117.2 kB / 0.564 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2956, allocations: 0 / 0.564 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.833e-05/0.2957, allocations: 16 kB / 0.5641 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2957, allocations: 0 / 0.5641 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.2957, allocations: 4 kB / 0.5641 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2957, allocations: 3.938 kB / 0.5641 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.2957, allocations: 8.109 kB / 0.5641 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.2959, allocations: 120.9 kB / 0.5642 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.577e-06/0.2959, allocations: 7.938 kB / 0.5642 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.2959, allocations: 0 / 0.5642 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.413e-05/0.2959, allocations: 4 kB / 0.5642 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.296, allocations: 15.92 kB / 0.5642 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.296, allocations: 4 kB / 0.5642 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.989e-05/0.296, allocations: 75.28 kB / 0.5643 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.296, allocations: 0 / 0.5643 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002055/0.2962, allocations: 16 kB / 0.5643 GB, free: 0.4961 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0001315/0.2963, allocations: 107.2 kB / 0.5644 GB, free: 392 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.2965, allocations: 51.92 kB / 0.5645 GB, free: 340 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2965, allocations: 4.094 kB / 0.5645 GB, free: 336 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.17e-05/0.2965, allocations: 31.92 kB / 0.5645 GB, free: 304 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.2967, allocations: 6.672 kB / 0.5645 GB, free: 300 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.297, allocations: 140.9 kB / 0.5646 GB, free: 132 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.844e-05/0.297, allocations: 63.34 kB / 0.5647 GB, free: 48 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.563e-05/0.2971, allocations: 7.781 kB / 0.5647 GB, free: 40 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.708e-05/0.2971, allocations: 11.44 kB / 0.5647 GB, free: 28 kB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2971, allocations: 7.938 kB / 0.5647 GB, free: 20 kB / 398.1 MB Notification: Performance of Templates: time 0.003117/0.3002, allocations: 0.6404 MB / 0.5653 GB, free: 15.39 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.826924515888095]