Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001511/0.001511, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 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.001718/0.001718, allocations: 212.4 kB / 25.13 MB, free: 3.605 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.45/1.45, allocations: 230.4 MB / 258.7 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2164/0.2164, allocations: 46.93 MB / 362 MB, free: 4.234 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-beta.om/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_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002387/0.002387, allocations: 75.88 kB / 0.4978 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3338, allocations: 66.07 MB / 0.5623 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001688/0.3355, allocations: 0.506 MB / 0.5628 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.3375, allocations: 1.409 MB / 0.5642 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.979e-05/0.3375, allocations: 0 / 0.5642 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.3376, allocations: 4 kB / 0.5642 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.063e-05/0.3376, allocations: 7.938 kB / 0.5642 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006755/0.3383, allocations: 207.5 kB / 0.5644 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.771e-05/0.3383, allocations: 8 kB / 0.5644 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.3384, allocations: 7.984 kB / 0.5644 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.602e-05/0.3384, allocations: 0 / 0.5644 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.879e-05/0.3384, allocations: 4 kB / 0.5644 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.3384, allocations: 0 / 0.5644 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000456/0.3389, allocations: 279.6 kB / 0.5647 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.3389, allocations: 3.938 kB / 0.5647 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.3389, allocations: 15.98 kB / 0.5647 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.3392, allocations: 138.2 kB / 0.5648 GB, free: 1.715 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3392, allocations: 0 / 0.5648 GB, free: 1.715 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3392, allocations: 0 / 0.5648 GB, free: 1.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3392, allocations: 0 / 0.5648 GB, free: 1.715 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.0003718/0.3395, allocations: 262.2 kB / 0.5651 GB, free: 1.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3396, allocations: 12.03 kB / 0.5651 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.3396, allocations: 0.9375 kB / 0.5651 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.3397, allocations: 102.5 kB / 0.5652 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.3397, allocations: 8.375 kB / 0.5652 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.3397, allocations: 4.312 kB / 0.5652 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.3399, allocations: 67.64 kB / 0.5652 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3399, allocations: 3.938 kB / 0.5653 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.3399, allocations: 0 / 0.5653 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3399, allocations: 3.984 kB / 0.5653 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.923e-05/0.3399, allocations: 0 / 0.5653 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.3401, allocations: 124.8 kB / 0.5654 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.52e-05/0.3401, allocations: 22.61 kB / 0.5654 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.935e-05/0.3401, allocations: 12.8 kB / 0.5654 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.3401, allocations: 0 / 0.5654 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.3402, allocations: 34.5 kB / 0.5654 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.12e-07/0.3402, allocations: 0 / 0.5654 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001244/0.3403, allocations: 33.77 kB / 0.5655 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.3403, allocations: 55.39 kB / 0.5655 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.795e-05/0.3404, allocations: 102 kB / 0.5656 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.3404, allocations: 25.7 kB / 0.5656 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.3405, allocations: 80.14 kB / 0.5657 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.3405, allocations: 3.953 kB / 0.5657 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.3405, allocations: 13.72 kB / 0.5657 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3407, allocations: 310.8 kB / 0.566 GB, free: 284 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.156e-05/0.3407, allocations: 3.938 kB / 0.566 GB, free: 280 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.235e-05/0.3407, allocations: 12.11 kB / 0.5661 GB, free: 268 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.7e-05/0.3407, allocations: 12.86 kB / 0.5661 GB, free: 252 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3407, allocations: 4 kB / 0.5661 GB, free: 248 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.728e-05/0.3408, allocations: 29.7 kB / 0.5661 GB, free: 212 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3408, allocations: 11.94 kB / 0.5661 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.3408, allocations: 0 / 0.5661 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.3408, allocations: 0 / 0.5661 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.231e-05/0.3409, allocations: 0 / 0.5661 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.3409, allocations: 0 / 0.5661 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.67e-05/0.3409, allocations: 8.094 kB / 0.5661 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.3409, allocations: 7.922 kB / 0.5661 GB, free: 184 kB / 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 (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 7.204e-05/0.341, allocations: 109.8 kB / 0.5662 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.839e-06/0.341, allocations: 3.938 kB / 0.5662 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.3411, allocations: 40.86 kB / 0.5663 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3411, allocations: 7.984 kB / 0.5663 GB, free: 0 / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3411, allocations: 4.078 kB / 0.5663 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.3411, allocations: 3.938 kB / 0.5663 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.3412, allocations: 112.8 kB / 0.5664 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3412, allocations: 4 kB / 0.5664 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.3412, allocations: 0 / 0.5664 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.3412, allocations: 7.922 kB / 0.5664 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.3412, allocations: 4 kB / 0.5664 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.3412, allocations: 0 / 0.5664 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3412, allocations: 3.938 kB / 0.5664 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.694e-05/0.3413, allocations: 61.08 kB / 0.5665 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.3413, allocations: 7.938 kB / 0.5665 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.699e-06/0.3413, allocations: 0 / 0.5665 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.856e-05/0.3414, allocations: 3.984 kB / 0.5665 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/0.3414, allocations: 8 kB / 0.5665 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.3414, allocations: 0 / 0.5665 GB, free: 15.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.683e-05/0.3415, allocations: 75.28 kB / 0.5666 GB, free: 15.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3415, allocations: 128 / 0.5666 GB, free: 15.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.3417, allocations: 43.94 kB / 0.5666 GB, free: 15.6 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.0002491/0.3419, allocations: 131.2 kB / 0.5667 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.319e-05/0.342, allocations: 12 kB / 0.5667 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.342, allocations: 4 kB / 0.5667 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.32e-05/0.3421, allocations: 29.64 kB / 0.5668 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.3422, allocations: 4 kB / 0.5668 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002117/0.3424, allocations: 89.11 kB / 0.5669 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.3427, allocations: 0.6729 MB / 0.5675 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.576e-05/0.3427, allocations: 3.984 kB / 0.5675 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.77e-05/0.3427, allocations: 11.42 kB / 0.5675 GB, free: 14.58 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3427, allocations: 0 / 0.5675 GB, free: 14.58 MB / 414.1 MB Notification: Performance of Templates: time 0.003528/0.3463, allocations: 1.085 MB / 0.5686 GB, free: 13.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_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: 4.8068536629434675]