Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.001601/0.001601, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001755/0.001755, allocations: 214.1 kB / 24.48 MB, free: 3.84 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.452/1.452, 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.2336/0.2336, allocations: 46.97 MB / 361.6 MB, free: 4.059 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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 59.91 kB / 0.4973 GB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2996, allocations: 66.05 MB / 0.5618 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0016/0.3012, allocations: 490.1 kB / 0.5623 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.3031, allocations: 1.354 MB / 0.5636 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.598e-05/0.3032, allocations: 4 kB / 0.5636 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.315e-05/0.3032, allocations: 0 / 0.5636 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.066e-05/0.3032, allocations: 0 / 0.5636 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006694/0.3039, allocations: 219.5 kB / 0.5638 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.411e-05/0.3039, allocations: 4 kB / 0.5638 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.783e-05/0.304, allocations: 7.984 kB / 0.5638 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.701e-05/0.304, allocations: 0 / 0.5638 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.003e-05/0.304, allocations: 4 kB / 0.5638 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.304, allocations: 0 / 0.5638 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004806/0.3045, allocations: 267.6 kB / 0.5641 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.3045, allocations: 0 / 0.5641 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.566e-05/0.3046, allocations: 7.938 kB / 0.5641 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.3048, allocations: 143.4 kB / 0.5642 GB, free: 1.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3048, allocations: 0 / 0.5642 GB, free: 1.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3048, allocations: 4 kB / 0.5642 GB, free: 1.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.3048, allocations: 0 / 0.5642 GB, free: 1.707 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.0003871/0.3052, allocations: 267 kB / 0.5645 GB, free: 1.422 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3052, allocations: 8.031 kB / 0.5645 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.3052, allocations: 4.875 kB / 0.5645 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.3054, allocations: 110.5 kB / 0.5646 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.3054, allocations: 384 / 0.5646 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-06/0.3054, allocations: 384 / 0.5646 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.3055, allocations: 67.64 kB / 0.5647 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.3055, allocations: 0 / 0.5647 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.3055, allocations: 4 kB / 0.5647 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3055, allocations: 0 / 0.5647 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.228e-05/0.3056, allocations: 4 kB / 0.5647 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001291/0.3057, allocations: 97.33 kB / 0.5648 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.636e-05/0.3057, allocations: 18.61 kB / 0.5648 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.979e-05/0.3058, allocations: 12.84 kB / 0.5648 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.3058, allocations: 0 / 0.5648 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.3058, allocations: 38.56 kB / 0.5648 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 3.086e-06/0.3058, allocations: 3.984 kB / 0.5648 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001546/0.306, allocations: 41.64 kB / 0.5649 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.306, allocations: 55.34 kB / 0.5649 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.631e-05/0.3061, allocations: 89.86 kB / 0.565 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.3061, allocations: 29.7 kB / 0.565 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.511e-05/0.3062, allocations: 84.38 kB / 0.5651 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.3062, allocations: 7.953 kB / 0.5651 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.3062, allocations: 17.72 kB / 0.5651 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.3064, allocations: 310.8 kB / 0.5654 GB, free: 304 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.035e-05/0.3064, allocations: 0 / 0.5654 GB, free: 304 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.727e-06/0.3064, allocations: 4 kB / 0.5654 GB, free: 300 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.456e-05/0.3064, allocations: 8.797 kB / 0.5655 GB, free: 288 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3064, allocations: 4 kB / 0.5655 GB, free: 284 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.527e-05/0.3065, allocations: 33.69 kB / 0.5655 GB, free: 244 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.3065, allocations: 4 kB / 0.5655 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.3065, allocations: 12.03 kB / 0.5655 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.3065, allocations: 0 / 0.5655 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.698e-05/0.3066, allocations: 4 kB / 0.5655 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3066, allocations: 0 / 0.5655 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.201e-05/0.3066, allocations: 0 / 0.5655 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.3066, allocations: 4 kB / 0.5655 GB, free: 220 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.563e-05/0.3067, allocations: 109.8 kB / 0.5656 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-06/0.3067, allocations: 0 / 0.5656 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.3068, allocations: 56.72 kB / 0.5657 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3068, allocations: 4 kB / 0.5657 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3068, allocations: 0 / 0.5657 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.3068, allocations: 0 / 0.5657 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.3069, allocations: 97.31 kB / 0.5658 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3069, allocations: 7.938 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.3069, allocations: 0 / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.3069, allocations: 0 / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.3069, allocations: 0 / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.3069, allocations: 3.938 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3069, allocations: 4.031 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.427e-05/0.307, allocations: 73.06 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-06/0.307, allocations: 4 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-06/0.307, allocations: 0 / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.496e-05/0.3071, allocations: 7.938 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.057e-05/0.3071, allocations: 3.938 kB / 0.5659 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.3071, allocations: 0 / 0.5659 GB, free: 15.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.139e-05/0.3072, allocations: 79.28 kB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3072, allocations: 0 / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.3074, allocations: 40.05 kB / 0.566 GB, free: 15.66 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.0002606/0.3077, allocations: 143.2 kB / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.104e-05/0.3078, allocations: 7.984 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3078, allocations: 0 / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.633e-05/0.3078, allocations: 29.7 kB / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.308, allocations: 0 / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002274/0.3082, allocations: 114.6 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.732e-05/0.3082, allocations: 59.34 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.604e-05/0.3082, allocations: 7.562 kB / 0.5663 GB, free: 15.24 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3082, allocations: 4 kB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of Templates: time 0.002484/0.3107, allocations: 0.9138 MB / 0.5672 GB, free: 14.32 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.358348938636482]