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.001653/0.001653, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001434/0.001434, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.431/1.431, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2173/0.2173, allocations: 46.97 MB / 361.6 MB, free: 4.016 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.001962/0.001962, allocations: 63.84 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3402, allocations: 66.05 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001693/0.3419, allocations: 497 kB / 0.5623 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.3438, allocations: 1.358 MB / 0.5636 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.872e-05/0.3438, allocations: 0 / 0.5636 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.32e-05/0.3438, allocations: 0 / 0.5636 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.279e-05/0.3438, allocations: 4 kB / 0.5636 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006658/0.3445, allocations: 211.8 kB / 0.5638 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.012e-05/0.3446, allocations: 8 kB / 0.5638 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.734e-05/0.3446, allocations: 7.938 kB / 0.5638 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.297e-05/0.3446, allocations: 0 / 0.5638 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.05e-05/0.3447, allocations: 7.984 kB / 0.5638 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.3447, allocations: 0 / 0.5638 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004701/0.3452, allocations: 279.6 kB / 0.5641 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.267e-05/0.3452, allocations: 0 / 0.5641 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.702e-05/0.3452, allocations: 4 kB / 0.5641 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.3454, allocations: 150 kB / 0.5642 GB, free: 1.645 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3454, allocations: 0 / 0.5642 GB, free: 1.645 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3454, allocations: 3.938 kB / 0.5642 GB, free: 1.641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.3454, allocations: 0 / 0.5642 GB, free: 1.641 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.0003998/0.3458, allocations: 262.3 kB / 0.5645 GB, free: 1.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.3459, allocations: 8.031 kB / 0.5645 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.483e-05/0.3459, allocations: 4.891 kB / 0.5645 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.711e-05/0.346, allocations: 110.5 kB / 0.5646 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.346, allocations: 384 / 0.5646 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-06/0.346, allocations: 384 / 0.5646 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.3462, allocations: 67.7 kB / 0.5647 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.3462, allocations: 4 kB / 0.5647 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.3462, allocations: 0 / 0.5647 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3462, allocations: 0 / 0.5647 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.408e-05/0.3462, allocations: 8 kB / 0.5647 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/0.3466, allocations: 192.6 kB / 0.5649 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.711e-05/0.3466, allocations: 22.52 kB / 0.5649 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.5e-05/0.3466, allocations: 8.859 kB / 0.5649 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-06/0.3466, allocations: 0 / 0.5649 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.3467, allocations: 34.56 kB / 0.5649 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.3467, allocations: 0 / 0.5649 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001432/0.3468, allocations: 41.7 kB / 0.565 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.3468, allocations: 51.41 kB / 0.565 GB, free: 0.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.501e-05/0.3469, allocations: 97.84 kB / 0.5651 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.3469, allocations: 29.64 kB / 0.5651 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.347, allocations: 92.03 kB / 0.5652 GB, free: 484 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.316e-06/0.347, allocations: 12.2 kB / 0.5652 GB, free: 472 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.347, allocations: 17.66 kB / 0.5653 GB, free: 448 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3472, allocations: 314.8 kB / 0.5656 GB, free: 124 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.185e-05/0.3472, allocations: 4 kB / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.589e-05/0.3472, allocations: 22.56 kB / 0.5656 GB, free: 88 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.837e-05/0.3473, allocations: 26.52 kB / 0.5656 GB, free: 52 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3473, allocations: 3.938 kB / 0.5656 GB, free: 48 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.046e-05/0.3473, allocations: 53.69 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3474, allocations: 8 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.3474, allocations: 0 / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.3474, allocations: 0 / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.515e-05/0.3474, allocations: 4 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.3474, allocations: 4 kB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.575e-05/0.3474, allocations: 0 / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.3474, allocations: 0 / 0.5657 GB, free: 15.97 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.514e-05/0.3475, allocations: 121.8 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.3476, allocations: 0 / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.3477, allocations: 44.83 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3477, allocations: 0 / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.3477, allocations: 3.984 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3477, allocations: 4 kB / 0.5659 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.3478, allocations: 101.3 kB / 0.5659 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.3478, allocations: 0 / 0.5659 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.645e-06/0.3478, allocations: 4 kB / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.3478, allocations: 0 / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.3478, allocations: 0 / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3478, allocations: 4.031 kB / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3478, allocations: 0 / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.3479, allocations: 139.4 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.348, allocations: 7.953 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.348, allocations: 0 / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.67e-05/0.348, allocations: 0 / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.378e-05/0.348, allocations: 4 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.348, allocations: 4 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.024e-05/0.3481, allocations: 79.27 kB / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3481, allocations: 128 / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002968/0.3484, allocations: 43.94 kB / 0.5662 GB, free: 15.36 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.0002624/0.3486, allocations: 143.1 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.612e-05/0.3487, allocations: 15.94 kB / 0.5664 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3487, allocations: 0 / 0.5664 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.391e-05/0.3488, allocations: 33.64 kB / 0.5664 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.3489, allocations: 7.938 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002279/0.3492, allocations: 106.8 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.983e-05/0.3492, allocations: 59.61 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.52e-05/0.3492, allocations: 7.438 kB / 0.5666 GB, free: 14.92 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3492, allocations: 0 / 0.5666 GB, free: 14.92 MB / 414.1 MB Notification: Performance of Templates: time 0.002547/0.3518, allocations: 0.9219 MB / 0.5675 GB, free: 14 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/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: 7.195158917020308]