Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001881/0.001881, allocations: 85.94 kB / 20.68 MB, free: 1.035 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.002446/0.002446, allocations: 158.2 kB / 23.95 MB, free: 4.168 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.586/1.586, allocations: 177 MB / 204.1 MB, free: 9.195 MB / 190.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.2158/0.2158, allocations: 34.25 MB / 294.8 MB, free: 14.56 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 442.6 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.302e-05, allocations: 2.281 kB / 442.6 MB, free: 5.359 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001408/0.001431, allocations: 0.4957 MB / 443.1 MB, free: 4.867 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.003649, allocations: 1.346 MB / 444.5 MB, free: 3.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.909e-05/0.003708, allocations: 4 kB / 444.5 MB, free: 3.496 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.454e-05/0.003723, allocations: 0 / 444.5 MB, free: 3.496 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.042e-05/0.003743, allocations: 0 / 444.5 MB, free: 3.496 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007148/0.004458, allocations: 223.7 kB / 444.7 MB, free: 3.281 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.032e-05/0.004508, allocations: 11.92 kB / 444.7 MB, free: 3.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.004553, allocations: 8 kB / 444.7 MB, free: 3.262 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.815e-05/0.004582, allocations: 8 kB / 444.7 MB, free: 3.254 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.622e-05/0.004628, allocations: 11.97 kB / 444.7 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.004641, allocations: 0 / 444.7 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004721/0.005113, allocations: 251.6 kB / 445 MB, free: 2.996 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.005128, allocations: 8 kB / 445 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.407e-05/0.005142, allocations: 0 / 445 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003076/0.00545, allocations: 191.5 kB / 445.2 MB, free: 2.801 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.005454, allocations: 4 kB / 445.2 MB, free: 2.797 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005455, allocations: 0 / 445.2 MB, free: 2.797 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.005463, allocations: 0 / 445.2 MB, free: 2.797 MB / 366.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.0003742/0.005837, allocations: 266.2 kB / 445.4 MB, free: 2.508 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.005872, allocations: 8.031 kB / 445.4 MB, free: 2.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.005899, allocations: 0.9375 kB / 445.4 MB, free: 2.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.81e-05/0.005988, allocations: 109.8 kB / 445.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-06/0.005994, allocations: 384 / 445.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.006006, allocations: 384 / 445.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.00618, allocations: 71.89 kB / 445.6 MB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.006189, allocations: 192 / 445.6 MB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.006198, allocations: 384 / 445.6 MB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.006205, allocations: 3.938 kB / 445.6 MB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.983e-05/0.006235, allocations: 4 kB / 445.6 MB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.006579, allocations: 204.5 kB / 445.8 MB, free: 2.047 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.61e-05/0.006625, allocations: 18.58 kB / 445.9 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.002e-05/0.006645, allocations: 8.859 kB / 445.9 MB, free: 2.008 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.57e-06/0.006651, allocations: 0 / 445.9 MB, free: 2.008 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.006686, allocations: 38.56 kB / 445.9 MB, free: 1.961 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.006687, allocations: 0 / 445.9 MB, free: 1.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001576/0.006845, allocations: 33.64 kB / 445.9 MB, free: 1.922 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.006976, allocations: 55.41 kB / 446 MB, free: 1.855 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.708e-05/0.007073, allocations: 97.97 kB / 446.1 MB, free: 1.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.007093, allocations: 29.83 kB / 446.1 MB, free: 1.715 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.007276, allocations: 88.09 kB / 446.2 MB, free: 1.625 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.906e-06/0.007285, allocations: 3.984 kB / 446.2 MB, free: 1.621 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.007326, allocations: 17.72 kB / 446.2 MB, free: 1.598 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.007518, allocations: 310.8 kB / 446.5 MB, free: 1.285 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.653e-05/0.007535, allocations: 7.984 kB / 446.5 MB, free: 1.277 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.088e-05/0.007566, allocations: 18.58 kB / 446.5 MB, free: 1.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.818e-05/0.007614, allocations: 26.52 kB / 446.6 MB, free: 1.215 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.007616, allocations: 4 kB / 446.6 MB, free: 1.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001547/0.00777, allocations: 57.52 kB / 446.6 MB, free: 1.148 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.007784, allocations: 8 kB / 446.6 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.007789, allocations: 4 kB / 446.6 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.007803, allocations: 0 / 446.6 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.795e-05/0.007851, allocations: 8 kB / 446.7 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.007856, allocations: 0 / 446.7 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.594e-05/0.007872, allocations: 3.938 kB / 446.7 MB, free: 1.125 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-06/0.00788, allocations: 4 kB / 446.7 MB, free: 1.121 MB / 366.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 8.438e-05/0.007964, allocations: 113.9 kB / 446.8 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.00799, allocations: 3.938 kB / 446.8 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.0081, allocations: 44.89 kB / 446.8 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.008103, allocations: 7.984 kB / 446.8 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.008107, allocations: 0 / 446.8 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.008115, allocations: 3.984 kB / 446.8 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.008241, allocations: 93.33 kB / 446.9 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.008245, allocations: 4 kB / 446.9 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.008246, allocations: 4.031 kB / 446.9 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.008248, allocations: 0 / 446.9 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.008255, allocations: 3.938 kB / 446.9 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.008256, allocations: 3.938 kB / 446.9 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.008257, allocations: 0 / 446.9 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.008377, allocations: 139.5 kB / 447.1 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-06/0.008382, allocations: 0 / 447.1 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.008396, allocations: 3.938 kB / 447.1 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.552e-05/0.008451, allocations: 0 / 447.1 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.333e-05/0.008465, allocations: 4 kB / 447.1 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.008468, allocations: 4.031 kB / 447.1 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.156e-05/0.00851, allocations: 79.27 kB / 447.2 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.00851, allocations: 0 / 447.2 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002954/0.008806, allocations: 43.94 kB / 447.2 MB, free: 0.5117 MB / 366.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.0003048/0.00911, allocations: 143.1 kB / 447.3 MB, free: 368 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.599e-05/0.009196, allocations: 12 kB / 447.4 MB, free: 356 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.009198, allocations: 0 / 447.4 MB, free: 356 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.172e-05/0.00924, allocations: 33.92 kB / 447.4 MB, free: 316 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.009452, allocations: 4.062 kB / 447.4 MB, free: 312 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002403/0.009692, allocations: 92.84 kB / 447.5 MB, free: 192 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.293e-05/0.009745, allocations: 55.36 kB / 447.5 MB, free: 116 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.946e-05/0.009765, allocations: 0 / 447.5 MB, free: 116 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.556e-05/0.00978, allocations: 8.5 kB / 447.5 MB, free: 108 kB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.009781, allocations: 3.938 kB / 447.6 MB, free: 104 kB / 366.1 MB Notification: Performance of Templates: time 0.1711/0.1808, allocations: 1.095 MB / 448.6 MB, free: 19.15 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.878845278173685]