Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.001279/0.001279, allocations: 107.6 kB / 21.19 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.001418/0.001418, allocations: 214.8 kB / 24.48 MB, free: 3.957 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.446/1.446, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2345/0.2345, allocations: 46.96 MB / 361.6 MB, free: 4.031 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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 67.91 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3373, allocations: 66.04 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.002409/0.3397, allocations: 0.4915 MB / 0.5623 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002865/0.3426, allocations: 1.35 MB / 0.5636 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.258e-05/0.3426, allocations: 0 / 0.5636 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.038e-05/0.3427, allocations: 4 kB / 0.5636 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.762e-05/0.3427, allocations: 0 / 0.5636 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009907/0.3437, allocations: 219 kB / 0.5638 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.154e-05/0.3437, allocations: 8 kB / 0.5638 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.315e-05/0.3438, allocations: 0 / 0.5638 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.918e-05/0.3438, allocations: 11.92 kB / 0.5638 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.597e-05/0.3439, allocations: 0 / 0.5638 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.3439, allocations: 0 / 0.5638 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006711/0.3446, allocations: 283.6 kB / 0.5641 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.3446, allocations: 0 / 0.5641 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.252e-05/0.3446, allocations: 8 kB / 0.5641 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.3449, allocations: 150 kB / 0.5643 GB, free: 1.652 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.345, allocations: 0 / 0.5643 GB, free: 1.652 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.345, allocations: 0 / 0.5643 GB, free: 1.652 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.345, allocations: 0 / 0.5643 GB, free: 1.652 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004803/0.3454, allocations: 262.2 kB / 0.5645 GB, free: 1.367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.3455, allocations: 11.97 kB / 0.5645 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.3455, allocations: 4.938 kB / 0.5645 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.3457, allocations: 102.5 kB / 0.5646 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.3457, allocations: 384 / 0.5646 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.3457, allocations: 384 / 0.5646 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.3458, allocations: 71.64 kB / 0.5647 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3459, allocations: 0 / 0.5647 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3459, allocations: 0 / 0.5647 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3459, allocations: 0 / 0.5647 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.481e-05/0.3459, allocations: 4 kB / 0.5647 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.3461, allocations: 101.3 kB / 0.5648 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.481e-05/0.3461, allocations: 14.58 kB / 0.5648 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.879e-05/0.3462, allocations: 8.953 kB / 0.5648 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.293e-06/0.3462, allocations: 0 / 0.5648 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.3462, allocations: 42.48 kB / 0.5649 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.353e-06/0.3462, allocations: 4 kB / 0.5649 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000177/0.3464, allocations: 37.64 kB / 0.5649 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.3464, allocations: 51.41 kB / 0.5649 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.3465, allocations: 93.86 kB / 0.565 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.3465, allocations: 25.7 kB / 0.5651 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.3466, allocations: 84.14 kB / 0.5651 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.3466, allocations: 7.938 kB / 0.5651 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.3467, allocations: 13.72 kB / 0.5652 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.3468, allocations: 310.8 kB / 0.5655 GB, free: 264 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/0.3469, allocations: 4.25 kB / 0.5655 GB, free: 260 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.218e-05/0.3469, allocations: 7.938 kB / 0.5655 GB, free: 252 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.864e-05/0.3469, allocations: 8.859 kB / 0.5655 GB, free: 240 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3469, allocations: 3.938 kB / 0.5655 GB, free: 236 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.015e-05/0.347, allocations: 41.69 kB / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.347, allocations: 4 kB / 0.5655 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.347, allocations: 3.938 kB / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.347, allocations: 0 / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.3471, allocations: 4 kB / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3471, allocations: 96 / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.549e-05/0.3471, allocations: 4 kB / 0.5655 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.3471, allocations: 0 / 0.5655 GB, free: 172 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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.0001015/0.3472, allocations: 109.8 kB / 0.5656 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-06/0.3473, allocations: 4 kB / 0.5656 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001701/0.3474, allocations: 52.72 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.3474, allocations: 0 / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3474, allocations: 0 / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3474, allocations: 4.031 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.909e-05/0.3475, allocations: 105.2 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.3475, allocations: 4 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.82e-07/0.3475, allocations: 0 / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.3475, allocations: 0 / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.3476, allocations: 4 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.3476, allocations: 3.938 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3476, allocations: 0 / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.3477, allocations: 61.08 kB / 0.5659 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-06/0.3477, allocations: 3.984 kB / 0.5659 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.3477, allocations: 4.031 kB / 0.5659 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-05/0.3478, allocations: 7.938 kB / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.3478, allocations: 0 / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.3478, allocations: 4 kB / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.482e-05/0.3478, allocations: 75.28 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3478, allocations: 0 / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004064/0.3483, allocations: 47.92 kB / 0.566 GB, free: 15.62 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.0003719/0.3486, allocations: 131.2 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.3487, allocations: 12.09 kB / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3487, allocations: 0 / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.428e-05/0.3488, allocations: 41.62 kB / 0.5662 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.349, allocations: 3.938 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000309/0.3493, allocations: 106.7 kB / 0.5663 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.623e-05/0.3494, allocations: 59.34 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.1e-05/0.3494, allocations: 7.438 kB / 0.5663 GB, free: 15.19 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3494, allocations: 0 / 0.5663 GB, free: 15.19 MB / 414.1 MB Notification: Performance of Templates: time 0.003504/0.3529, allocations: 0.914 MB / 0.5672 GB, free: 14.28 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.467512381990673]