Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.006272/0.006272, allocations: 103.1 kB / 21.97 MB, free: 5.207 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.0018/0.0018, allocations: 224 kB / 25.3 MB, free: 3.211 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.456/1.456, allocations: 230.5 MB / 258.9 MB, free: 8.012 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.2302/0.2302, allocations: 46.94 MB / 362.3 MB, free: 4.199 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [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.002316/0.002316, allocations: 83.86 kB / 0.4982 GB, free: 7.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2925, allocations: 66.08 MB / 0.5627 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.002104/0.2946, allocations: 0.4953 MB / 0.5632 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002471/0.2971, allocations: 1.427 MB / 0.5646 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3e-05/0.2971, allocations: 0 / 0.5646 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.239e-05/0.2971, allocations: 0 / 0.5646 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.223e-05/0.2972, allocations: 0 / 0.5646 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007146/0.2979, allocations: 219.3 kB / 0.5648 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.702e-05/0.2979, allocations: 8 kB / 0.5648 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.298, allocations: 7.984 kB / 0.5648 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.464e-05/0.298, allocations: 0 / 0.5648 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.693e-05/0.298, allocations: 4 kB / 0.5648 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.298, allocations: 0 / 0.5648 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000469/0.2985, allocations: 279.6 kB / 0.5651 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.2985, allocations: 7.922 kB / 0.5651 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.441e-05/0.2985, allocations: 4 kB / 0.5651 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.2988, allocations: 146 kB / 0.5652 GB, free: 1.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2988, allocations: 0 / 0.5652 GB, free: 1.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2988, allocations: 0 / 0.5652 GB, free: 1.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.2989, allocations: 0 / 0.5652 GB, free: 1.668 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.0004497/0.2993, allocations: 258.3 kB / 0.5655 GB, free: 1.387 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.2993, allocations: 12.03 kB / 0.5655 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.2994, allocations: 8.891 kB / 0.5655 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.2995, allocations: 102.5 kB / 0.5656 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.2995, allocations: 4.375 kB / 0.5656 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.2995, allocations: 384 / 0.5656 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.2997, allocations: 45.94 kB / 0.5656 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.2997, allocations: 3.938 kB / 0.5657 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.2997, allocations: 4 kB / 0.5657 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2997, allocations: 0 / 0.5657 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.296e-05/0.2998, allocations: 4 kB / 0.5657 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/0.3002, allocations: 220 kB / 0.5659 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.566e-05/0.3002, allocations: 14.58 kB / 0.5659 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.375e-05/0.3003, allocations: 12.86 kB / 0.5659 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.3003, allocations: 0 / 0.5659 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.3003, allocations: 30.56 kB / 0.5659 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.3003, allocations: 0 / 0.5659 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001943/0.3005, allocations: 45.69 kB / 0.566 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.3005, allocations: 51.41 kB / 0.566 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.559e-05/0.3006, allocations: 93.8 kB / 0.5661 GB, free: 0.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.3007, allocations: 29.7 kB / 0.5661 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/0.3007, allocations: 96.02 kB / 0.5662 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.155e-06/0.3007, allocations: 3.953 kB / 0.5662 GB, free: 500 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.3008, allocations: 13.72 kB / 0.5662 GB, free: 480 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.301, allocations: 319 kB / 0.5665 GB, free: 152 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/0.301, allocations: 11.94 kB / 0.5666 GB, free: 140 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.696e-05/0.301, allocations: 18.56 kB / 0.5666 GB, free: 112 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.382e-05/0.3011, allocations: 26.58 kB / 0.5666 GB, free: 76 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3011, allocations: 0 / 0.5666 GB, free: 76 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.449e-05/0.3012, allocations: 45.64 kB / 0.5666 GB, free: 24 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3012, allocations: 8 kB / 0.5667 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.3012, allocations: 3.984 kB / 0.5667 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3012, allocations: 3.938 kB / 0.5667 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.958e-05/0.3013, allocations: 4 kB / 0.5667 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3013, allocations: 4 kB / 0.5667 GB, free: 0 / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.519e-05/0.3013, allocations: 0 / 0.5667 GB, free: 0 / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.3013, allocations: 80 / 0.5667 GB, free: 16 MB / 414.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 0.0001014/0.3014, allocations: 121.9 kB / 0.5668 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.3014, allocations: 0 / 0.5668 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.3016, allocations: 44.92 kB / 0.5668 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3016, allocations: 3.938 kB / 0.5668 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3016, allocations: 4 kB / 0.5668 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.3016, allocations: 0 / 0.5668 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.3018, allocations: 132.6 kB / 0.567 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3018, allocations: 0 / 0.567 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.3018, allocations: 4.031 kB / 0.567 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.3018, allocations: 4 kB / 0.567 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.3018, allocations: 0 / 0.567 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3018, allocations: 0 / 0.567 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3018, allocations: 0 / 0.567 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.3019, allocations: 135.5 kB / 0.5671 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-06/0.3019, allocations: 0 / 0.5671 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.3019, allocations: 32 / 0.5671 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.203e-05/0.302, allocations: 8 kB / 0.5671 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.095e-05/0.302, allocations: 0 / 0.5671 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.302, allocations: 0 / 0.5671 GB, free: 15.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.045e-05/0.3021, allocations: 79.28 kB / 0.5672 GB, free: 15.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3021, allocations: 0 / 0.5672 GB, free: 15.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004449/0.3025, allocations: 43.92 kB / 0.5672 GB, free: 15.35 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.0003364/0.3029, allocations: 139 kB / 0.5674 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.105e-05/0.303, allocations: 16.08 kB / 0.5674 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.303, allocations: 3.938 kB / 0.5674 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.397e-05/0.303, allocations: 33.7 kB / 0.5674 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.3033, allocations: 7.938 kB / 0.5674 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/0.3036, allocations: 102.7 kB / 0.5675 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.304, allocations: 0.6768 MB / 0.5682 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.024e-05/0.304, allocations: 7.438 kB / 0.5682 GB, free: 14.29 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.304, allocations: 256 / 0.5682 GB, free: 14.29 MB / 414.1 MB Notification: Performance of Templates: time 0.003287/0.3073, allocations: 0.9284 MB / 0.5691 GB, free: 13.37 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 7.177448404952884]