Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.001385/0.001385, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001524/0.001524, allocations: 214.8 kB / 24.48 MB, free: 3.836 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.482/1.482, allocations: 230.5 MB / 258.1 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.2279/0.2279, allocations: 46.95 MB / 361.6 MB, free: 4.004 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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002412/0.002412, allocations: 79.88 kB / 0.4974 GB, free: 7.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.327, allocations: 66.09 MB / 0.5619 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001773/0.3287, allocations: 497.7 kB / 0.5624 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.3308, allocations: 1.35 MB / 0.5637 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.922e-05/0.3308, allocations: 0 / 0.5637 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.446e-05/0.3308, allocations: 3.938 kB / 0.5637 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.337e-05/0.3309, allocations: 0 / 0.5637 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007316/0.3316, allocations: 217.4 kB / 0.5639 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.931e-05/0.3317, allocations: 4 kB / 0.5639 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.919e-05/0.3317, allocations: 0 / 0.5639 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.948e-05/0.3317, allocations: 12 kB / 0.5639 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.221e-05/0.3318, allocations: 7.969 kB / 0.5639 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.3318, allocations: 4 kB / 0.5639 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004727/0.3323, allocations: 255.6 kB / 0.5642 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.3323, allocations: 0 / 0.5642 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.923e-05/0.3323, allocations: 7.938 kB / 0.5642 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.3325, allocations: 143.4 kB / 0.5643 GB, free: 1.469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3325, allocations: 0 / 0.5643 GB, free: 1.469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3325, allocations: 0 / 0.5643 GB, free: 1.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.3325, allocations: 0 / 0.5643 GB, free: 1.469 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004039/0.3329, allocations: 269 kB / 0.5646 GB, free: 1.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.333, allocations: 8.031 kB / 0.5646 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.333, allocations: 8.875 kB / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.3331, allocations: 102.5 kB / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.3331, allocations: 384 / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.385e-06/0.3332, allocations: 384 / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.3333, allocations: 63.7 kB / 0.5647 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.3333, allocations: 0 / 0.5647 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.3333, allocations: 4 kB / 0.5648 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3333, allocations: 3.938 kB / 0.5648 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.083e-05/0.3333, allocations: 8 kB / 0.5648 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.3335, allocations: 97.33 kB / 0.5649 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.518e-05/0.3335, allocations: 18.56 kB / 0.5649 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.839e-05/0.3335, allocations: 8.953 kB / 0.5649 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.3335, allocations: 0 / 0.5649 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.3336, allocations: 34.56 kB / 0.5649 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.3336, allocations: 3.938 kB / 0.5649 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001442/0.3337, allocations: 45.56 kB / 0.565 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.3338, allocations: 51.41 kB / 0.565 GB, free: 0.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.814e-05/0.3339, allocations: 97.98 kB / 0.5651 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.3339, allocations: 25.7 kB / 0.5651 GB, free: 500 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.3339, allocations: 84.14 kB / 0.5652 GB, free: 412 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.334, allocations: 7.953 kB / 0.5652 GB, free: 404 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.334, allocations: 13.7 kB / 0.5652 GB, free: 384 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3342, allocations: 310.8 kB / 0.5655 GB, free: 64 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.397e-05/0.3342, allocations: 4 kB / 0.5655 GB, free: 60 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.564e-06/0.3342, allocations: 0 / 0.5655 GB, free: 60 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.961e-05/0.3342, allocations: 16.8 kB / 0.5655 GB, free: 40 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3342, allocations: 0 / 0.5655 GB, free: 40 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.908e-05/0.3343, allocations: 37.94 kB / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3343, allocations: 4 kB / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3343, allocations: 7.875 kB / 0.5656 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3343, allocations: 0 / 0.5656 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.353e-05/0.3344, allocations: 4 kB / 0.5656 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3344, allocations: 0 / 0.5656 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.274e-05/0.3344, allocations: 0 / 0.5656 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.3344, allocations: 3.984 kB / 0.5656 GB, free: 15.98 MB / 414.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 (1): * Single equations (assignments): 1 * 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.025e-05/0.3345, allocations: 113.8 kB / 0.5657 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-06/0.3345, allocations: 0 / 0.5657 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.3347, allocations: 56.75 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3347, allocations: 0 / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.3347, allocations: 4 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3347, allocations: 0 / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.701e-05/0.3348, allocations: 97.33 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.3348, allocations: 3.938 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.475e-06/0.3348, allocations: 3.984 kB / 0.5659 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.3348, allocations: 4.031 kB / 0.5659 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.3348, allocations: 4 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3348, allocations: 3.938 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.3348, allocations: 0 / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.011e-05/0.3349, allocations: 57.14 kB / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-06/0.3349, allocations: 0 / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.3349, allocations: 15.86 kB / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.3349, allocations: 3.938 kB / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.109e-05/0.335, allocations: 0 / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.335, allocations: 4 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.57e-05/0.335, allocations: 83.31 kB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.335, allocations: 0 / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.3353, allocations: 43.92 kB / 0.5661 GB, free: 15.42 MB / 414.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002887/0.3355, allocations: 131.2 kB / 0.5662 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.102e-05/0.3356, allocations: 8 kB / 0.5662 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3356, allocations: 4 kB / 0.5662 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.905e-05/0.3357, allocations: 29.7 kB / 0.5662 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.3358, allocations: 3.984 kB / 0.5662 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/0.3361, allocations: 110.9 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.951e-05/0.3361, allocations: 63.28 kB / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.055e-05/0.3362, allocations: 7.438 kB / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3362, allocations: 0 / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of Templates: time 0.002799/0.339, allocations: 0.9217 MB / 0.5673 GB, free: 14.07 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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: 7.396060172934085]