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.001814/0.001814, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002296/0.002296, allocations: 205.9 kB / 23.73 MB, free: 4.379 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.445/1.445, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2359/0.2359, allocations: 46.96 MB / 360.9 MB, free: 4.023 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.002231/0.002231, allocations: 63.84 kB / 0.4966 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.326, allocations: 66.04 MB / 0.5611 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001648/0.3277, allocations: 491.4 kB / 0.5615 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.3298, allocations: 1.358 MB / 0.5629 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.151e-05/0.3298, allocations: 0 / 0.5629 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.268e-05/0.3298, allocations: 0 / 0.5629 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.73e-05/0.3298, allocations: 0 / 0.5629 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007805/0.3306, allocations: 223.8 kB / 0.5631 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.988e-05/0.3307, allocations: 11.92 kB / 0.5631 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.513e-05/0.3307, allocations: 0 / 0.5631 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.921e-05/0.3307, allocations: 4 kB / 0.5631 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.237e-05/0.3308, allocations: 8 kB / 0.5631 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.3308, allocations: 0 / 0.5631 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005031/0.3313, allocations: 275.6 kB / 0.5634 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.834e-05/0.3313, allocations: 3.984 kB / 0.5634 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.3314, allocations: 8 kB / 0.5634 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.3316, allocations: 142 kB / 0.5635 GB, free: 1.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3316, allocations: 0 / 0.5635 GB, free: 1.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3316, allocations: 0 / 0.5635 GB, free: 1.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.3316, allocations: 0 / 0.5635 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.0004202/0.3321, allocations: 258.3 kB / 0.5637 GB, free: 1.387 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3321, allocations: 16.03 kB / 0.5638 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.3321, allocations: 4.891 kB / 0.5638 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.586e-05/0.3322, allocations: 102.5 kB / 0.5639 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.3323, allocations: 8.359 kB / 0.5639 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.3323, allocations: 384 / 0.5639 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.3324, allocations: 67.66 kB / 0.5639 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3324, allocations: 3.938 kB / 0.5639 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.3325, allocations: 4 kB / 0.5639 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3325, allocations: 0 / 0.5639 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.556e-05/0.3325, allocations: 11.98 kB / 0.564 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.3329, allocations: 188.6 kB / 0.5641 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.619e-05/0.333, allocations: 18.52 kB / 0.5642 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.927e-05/0.333, allocations: 12.86 kB / 0.5642 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.333, allocations: 0 / 0.5642 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.333, allocations: 34.56 kB / 0.5642 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.333, allocations: 0 / 0.5642 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001792/0.3332, allocations: 37.69 kB / 0.5642 GB, free: 0.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.3333, allocations: 51.41 kB / 0.5643 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.545e-05/0.3333, allocations: 93.86 kB / 0.5644 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.3334, allocations: 29.95 kB / 0.5644 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.225e-05/0.3334, allocations: 95.97 kB / 0.5645 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.184e-05/0.3334, allocations: 7.938 kB / 0.5645 GB, free: 500 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.3335, allocations: 13.72 kB / 0.5645 GB, free: 480 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.3336, allocations: 318.8 kB / 0.5648 GB, free: 152 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.237e-05/0.3337, allocations: 3.938 kB / 0.5648 GB, free: 148 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.843e-05/0.3337, allocations: 18.58 kB / 0.5648 GB, free: 120 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.095e-05/0.3337, allocations: 30.56 kB / 0.5649 GB, free: 80 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3337, allocations: 7.938 kB / 0.5649 GB, free: 72 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.643e-05/0.3338, allocations: 41.64 kB / 0.5649 GB, free: 24 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3338, allocations: 4 kB / 0.5649 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.3338, allocations: 4 kB / 0.5649 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3339, allocations: 7.922 kB / 0.5649 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.394e-05/0.3339, allocations: 4 kB / 0.5649 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3339, allocations: 0 / 0.5649 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.23e-05/0.334, allocations: 8.078 kB / 0.5649 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.334, allocations: 0 / 0.5649 GB, free: 15.99 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.496e-05/0.334, allocations: 117.9 kB / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.3341, allocations: 0 / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.3342, allocations: 48.92 kB / 0.5651 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.3342, allocations: 7.938 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.3342, allocations: 0 / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.3342, allocations: 0 / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.3344, allocations: 105.2 kB / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3344, allocations: 0 / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.495e-06/0.3344, allocations: 8.016 kB / 0.5652 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.3344, allocations: 4 kB / 0.5652 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.3344, allocations: 0 / 0.5652 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3344, allocations: 0 / 0.5652 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3344, allocations: 3.938 kB / 0.5652 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.3345, allocations: 131.5 kB / 0.5654 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-06/0.3345, allocations: 3.953 kB / 0.5654 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.3345, allocations: 7.984 kB / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.647e-05/0.3346, allocations: 0 / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.2e-05/0.3346, allocations: 0 / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.3346, allocations: 0 / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.669e-05/0.3346, allocations: 83.31 kB / 0.5654 GB, free: 15.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3346, allocations: 3.938 kB / 0.5654 GB, free: 15.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003072/0.3349, allocations: 43.94 kB / 0.5655 GB, free: 15.37 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.0002748/0.3352, allocations: 135.1 kB / 0.5656 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.608e-05/0.3353, allocations: 12 kB / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3353, allocations: 0 / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.862e-05/0.3353, allocations: 33.7 kB / 0.5657 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.0002187/0.3356, allocations: 12.27 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002238/0.3358, allocations: 81 kB / 0.5657 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.57e-05/0.3358, allocations: 59.34 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.047e-05/0.3359, allocations: 0 / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.653e-05/0.3359, allocations: 7.438 kB / 0.5658 GB, free: 14.97 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3359, allocations: 0 / 0.5658 GB, free: 14.97 MB / 414.1 MB Notification: Performance of Templates: time 0.003733/0.3396, allocations: 1.099 MB / 0.5669 GB, free: 13.88 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 -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/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_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.9934466262348]