Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001782/0.001782, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001864/0.001864, allocations: 213.3 kB / 24.48 MB, free: 3.941 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.467/1.467, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.2234/0.2234, allocations: 46.97 MB / 361.6 MB, free: 4.027 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002872/0.002872, allocations: 75.88 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3014, allocations: 66.04 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001619/0.303, allocations: 487.4 kB / 0.5623 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.3049, allocations: 1.365 MB / 0.5636 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.737e-05/0.305, allocations: 0 / 0.5636 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.146e-05/0.305, allocations: 3.938 kB / 0.5636 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.807e-05/0.305, allocations: 0 / 0.5636 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000674/0.3057, allocations: 223.5 kB / 0.5638 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.266e-05/0.3057, allocations: 8 kB / 0.5638 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.136e-05/0.3058, allocations: 0 / 0.5638 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.603e-05/0.3058, allocations: 8 kB / 0.5638 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.023e-05/0.3058, allocations: 3.984 kB / 0.5638 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.3058, allocations: 0 / 0.5638 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005056/0.3063, allocations: 283.6 kB / 0.5641 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.3063, allocations: 0 / 0.5641 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.826e-05/0.3064, allocations: 7.938 kB / 0.5641 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.3066, allocations: 139.4 kB / 0.5642 GB, free: 1.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.347e-06/0.3066, allocations: 3.984 kB / 0.5642 GB, free: 1.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3066, allocations: 0 / 0.5642 GB, free: 1.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.3066, allocations: 0 / 0.5642 GB, free: 1.664 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.0004084/0.307, allocations: 265 kB / 0.5645 GB, free: 1.379 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.307, allocations: 8.031 kB / 0.5645 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.3071, allocations: 12.89 kB / 0.5645 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.682e-05/0.3072, allocations: 102.5 kB / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.577e-06/0.3072, allocations: 384 / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.3072, allocations: 4.375 kB / 0.5646 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.3073, allocations: 67.7 kB / 0.5647 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.3073, allocations: 0 / 0.5647 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.3073, allocations: 0 / 0.5647 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.3073, allocations: 0 / 0.5647 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.499e-05/0.3074, allocations: 11.94 kB / 0.5647 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003214/0.3077, allocations: 192.6 kB / 0.5649 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.873e-05/0.3077, allocations: 22.55 kB / 0.5649 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.526e-05/0.3077, allocations: 4.859 kB / 0.5649 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.3077, allocations: 4.062 kB / 0.5649 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.3078, allocations: 30.56 kB / 0.5649 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.3078, allocations: 3.938 kB / 0.5649 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001323/0.3079, allocations: 41.64 kB / 0.565 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.3079, allocations: 51.41 kB / 0.565 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.947e-05/0.308, allocations: 97.97 kB / 0.5651 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.308, allocations: 29.83 kB / 0.5652 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/0.3081, allocations: 92.03 kB / 0.5652 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.094e-06/0.3081, allocations: 3.953 kB / 0.5652 GB, free: 500 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.3081, allocations: 13.72 kB / 0.5653 GB, free: 480 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3083, allocations: 310.8 kB / 0.5656 GB, free: 160 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/0.3083, allocations: 11.94 kB / 0.5656 GB, free: 148 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.929e-05/0.3083, allocations: 22.56 kB / 0.5656 GB, free: 116 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.73e-05/0.3083, allocations: 26.52 kB / 0.5656 GB, free: 80 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3084, allocations: 11.94 kB / 0.5656 GB, free: 68 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.469e-05/0.3084, allocations: 45.62 kB / 0.5657 GB, free: 16 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.3084, allocations: 4 kB / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.3084, allocations: 0 / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3085, allocations: 4 kB / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.409e-05/0.3085, allocations: 4 kB / 0.5657 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.3085, allocations: 0 / 0.5657 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.547e-05/0.3085, allocations: 0 / 0.5657 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.3085, allocations: 4.078 kB / 0.5657 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 8.425e-05/0.3086, allocations: 121.8 kB / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.3087, allocations: 7.984 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.3088, allocations: 36.86 kB / 0.5658 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.3088, allocations: 4.078 kB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3088, allocations: 0 / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3088, allocations: 0 / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.3089, allocations: 109.2 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.3089, allocations: 0 / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.3089, allocations: 4.031 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3089, allocations: 4 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.3089, allocations: 0 / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3089, allocations: 4 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3089, allocations: 0 / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.309, allocations: 139.4 kB / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.233e-06/0.309, allocations: 3.953 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.309, allocations: 3.938 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.751e-05/0.3091, allocations: 4 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.468e-06/0.3091, allocations: 0 / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.3091, allocations: 4.031 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.053e-05/0.3092, allocations: 79.28 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3092, allocations: 0 / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002889/0.3095, allocations: 39.92 kB / 0.5662 GB, free: 15.38 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.0002703/0.3098, allocations: 139.1 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.415e-05/0.3098, allocations: 15.92 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3098, allocations: 4 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.338e-05/0.3099, allocations: 25.98 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.3101, allocations: 16 kB / 0.5664 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001969/0.3103, allocations: 73.06 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.578e-05/0.3103, allocations: 59.34 kB / 0.5665 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.116e-05/0.3104, allocations: 7.938 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.439e-05/0.3104, allocations: 7.438 kB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3104, allocations: 0 / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of Templates: time 0.003505/0.3139, allocations: 1.084 MB / 0.5676 GB, free: 13.89 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.87221966299694]