Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.002614/0.002614, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.003179/0.003179, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 18.57 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.562/1.562, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3476/0.3476, allocations: 32.8 MB / 293.9 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 375.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.975e-05/3.163e-05, allocations: 2.312 kB / 375.2 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.00254/0.002571, allocations: 0.4963 MB / 375.7 MB, free: 4.504 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003875/0.006446, allocations: 1.37 MB / 377.1 MB, free: 3.113 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.894e-05/0.006485, allocations: 3.938 kB / 377.1 MB, free: 3.109 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.82e-05/0.006504, allocations: 0 / 377.1 MB, free: 3.109 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.211e-05/0.006556, allocations: 0 / 377.1 MB, free: 3.109 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.007821, allocations: 219.9 kB / 377.3 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.835e-05/0.007879, allocations: 4 kB / 377.3 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.945e-05/0.007919, allocations: 0 / 377.3 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.484e-05/0.007964, allocations: 7.984 kB / 377.3 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.693e-05/0.00803, allocations: 15.88 kB / 377.4 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.008047, allocations: 0 / 377.4 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007737/0.008821, allocations: 251.6 kB / 377.6 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.008837, allocations: 3.984 kB / 377.6 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.008862, allocations: 4 kB / 377.6 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004752/0.009338, allocations: 191.5 kB / 377.8 MB, free: 2.426 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.009342, allocations: 4 kB / 377.8 MB, free: 2.422 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.009344, allocations: 0 / 377.8 MB, free: 2.422 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.009348, allocations: 4 kB / 377.8 MB, free: 2.418 MB / 346.7 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.0006176/0.009966, allocations: 364.2 kB / 378.2 MB, free: 2.027 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.01001, allocations: 8.031 kB / 378.2 MB, free: 2.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.549e-05/0.01006, allocations: 0.9375 kB / 378.2 MB, free: 2.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.01021, allocations: 112.6 kB / 378.3 MB, free: 1.883 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.01023, allocations: 8.375 kB / 378.3 MB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.01024, allocations: 384 / 378.3 MB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.0104, allocations: 59.97 kB / 378.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.01042, allocations: 8.125 kB / 378.3 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.01043, allocations: 384 / 378.3 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.01044, allocations: 3.938 kB / 378.4 MB, free: 1.793 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.646e-05/0.01049, allocations: 15.92 kB / 378.4 MB, free: 1.777 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005392/0.01103, allocations: 247.8 kB / 378.6 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.958e-05/0.01111, allocations: 23.06 kB / 378.6 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.988e-05/0.01114, allocations: 7.75 kB / 378.6 MB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.01116, allocations: 4 kB / 378.6 MB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.148e-05/0.01122, allocations: 41.33 kB / 378.7 MB, free: 1.398 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.653e-06/0.01122, allocations: 0 / 378.7 MB, free: 1.398 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002393/0.01146, allocations: 49.58 kB / 378.7 MB, free: 1.344 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.058e-05/0.01153, allocations: 51.41 kB / 378.8 MB, free: 1.281 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.01171, allocations: 153.9 kB / 378.9 MB, free: 1.113 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.01175, allocations: 29.7 kB / 379 MB, free: 1.078 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.01187, allocations: 130.8 kB / 379.1 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.186e-05/0.01188, allocations: 3.984 kB / 379.1 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.459e-05/0.01195, allocations: 19.38 kB / 379.1 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003882/0.01234, allocations: 496.1 kB / 379.6 MB, free: 428 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.01235, allocations: 4 kB / 379.6 MB, free: 424 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.974e-05/0.01241, allocations: 27.31 kB / 379.6 MB, free: 384 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.397e-05/0.01251, allocations: 46.98 kB / 379.7 MB, free: 324 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.01251, allocations: 0 / 379.7 MB, free: 324 kB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000154/0.01266, allocations: 49.58 kB / 379.7 MB, free: 268 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.01268, allocations: 6.031 kB / 379.7 MB, free: 264 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.01269, allocations: 4 kB / 379.7 MB, free: 260 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.01271, allocations: 3.984 kB / 379.7 MB, free: 256 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.238e-05/0.01277, allocations: 4.094 kB / 379.7 MB, free: 252 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.01278, allocations: 7.938 kB / 379.7 MB, free: 244 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.58e-05/0.01283, allocations: 11.89 kB / 379.8 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.01284, allocations: 96 / 379.8 MB, free: 232 kB / 346.7 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.0001754/0.01301, allocations: 156.6 kB / 379.9 MB, free: 64 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/0.01306, allocations: 7.922 kB / 379.9 MB, free: 56 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.01323, allocations: 44.84 kB / 380 MB, free: 8 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.01323, allocations: 0 / 380 MB, free: 8 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.01323, allocations: 4.031 kB / 380 MB, free: 4 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.01324, allocations: 0 / 380 MB, free: 4 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.01347, allocations: 112.6 kB / 380.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.01348, allocations: 0 / 380.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.483e-06/0.01348, allocations: 3.938 kB / 380.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01348, allocations: 4 kB / 380.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.0135, allocations: 3.938 kB / 380.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.0135, allocations: 4 kB / 380.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.01351, allocations: 3.938 kB / 380.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.01373, allocations: 180 kB / 380.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.01375, allocations: 8.031 kB / 380.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.01377, allocations: 7.922 kB / 380.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.353e-05/0.01386, allocations: 0 / 380.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.01388, allocations: 0 / 380.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.01389, allocations: 4 kB / 380.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.936e-05/0.01399, allocations: 119.2 kB / 380.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.01399, allocations: 0 / 380.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005274/0.01452, allocations: 43.94 kB / 380.5 MB, free: 15.46 MB / 362.7 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.0004564/0.01497, allocations: 139.2 kB / 380.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.01511, allocations: 31.7 kB / 380.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.01511, allocations: 0 / 380.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.215e-05/0.01518, allocations: 37.39 kB / 380.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.01553, allocations: 0 / 380.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.01586, allocations: 106.2 kB / 380.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.002e-05/0.01595, allocations: 59.34 kB / 380.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.392e-05/0.01599, allocations: 0 / 380.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.01601, allocations: 12.75 kB / 380.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01601, allocations: 4 kB / 380.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of Templates: time 0.00651/0.02252, allocations: 1.121 MB / 382 MB, free: 13.89 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 4.801079209079035]