Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.001442/0.001442, allocations: 109.1 kB / 21.18 MB, free: 0.7852 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.00163/0.00163, allocations: 217.3 kB / 24.49 MB, free: 4.172 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.325/1.325, allocations: 230.5 MB / 258.1 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 179] 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.2098/0.2098, allocations: 46.93 MB / 361.5 MB, free: 4.191 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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 75.88 kB / 0.4974 GB, free: 7.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.255, allocations: 66.08 MB / 0.5619 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001538/0.2565, allocations: 0.4914 MB / 0.5624 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.2582, allocations: 1.416 MB / 0.5638 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.2583, allocations: 0 / 0.5638 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.022e-05/0.2583, allocations: 0 / 0.5638 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.452e-05/0.2583, allocations: 0 / 0.5638 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006277/0.2589, allocations: 227.3 kB / 0.564 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.959e-05/0.259, allocations: 7.984 kB / 0.564 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.259, allocations: 0 / 0.564 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.741e-05/0.259, allocations: 4 kB / 0.564 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.07e-05/0.2591, allocations: 4 kB / 0.564 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.2591, allocations: 4 kB / 0.564 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004277/0.2595, allocations: 279.6 kB / 0.5643 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.2595, allocations: 3.938 kB / 0.5643 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.805e-05/0.2595, allocations: 7.984 kB / 0.5643 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.2597, allocations: 142 kB / 0.5644 GB, free: 1.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2597, allocations: 0 / 0.5644 GB, free: 1.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2597, allocations: 0 / 0.5644 GB, free: 1.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.137e-06/0.2597, allocations: 0 / 0.5644 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003426/0.2601, allocations: 262.2 kB / 0.5647 GB, free: 1.379 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.2601, allocations: 8.031 kB / 0.5647 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.2601, allocations: 8.938 kB / 0.5647 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.062e-05/0.2602, allocations: 102.5 kB / 0.5648 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.2602, allocations: 384 / 0.5648 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.495e-06/0.2603, allocations: 4.359 kB / 0.5648 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.735e-05/0.2603, allocations: 41.89 kB / 0.5649 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.2603, allocations: 3.938 kB / 0.5649 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.2604, allocations: 4 kB / 0.5649 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.2604, allocations: 0 / 0.5649 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.879e-05/0.2604, allocations: 4 kB / 0.5649 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.2605, allocations: 124.8 kB / 0.565 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.551e-05/0.2606, allocations: 18.58 kB / 0.565 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.605e-05/0.2606, allocations: 8.922 kB / 0.565 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.2606, allocations: 0 / 0.565 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.2606, allocations: 42.44 kB / 0.5651 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.2606, allocations: 0 / 0.5651 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001136/0.2607, allocations: 41.69 kB / 0.5651 GB, free: 0.875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.2608, allocations: 51.41 kB / 0.5651 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.431e-05/0.2608, allocations: 93.86 kB / 0.5652 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.2609, allocations: 29.7 kB / 0.5653 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.2609, allocations: 80.14 kB / 0.5653 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.2609, allocations: 3.953 kB / 0.5653 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.2609, allocations: 9.719 kB / 0.5653 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.2611, allocations: 315.1 kB / 0.5656 GB, free: 264 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.072e-05/0.2611, allocations: 7.984 kB / 0.5657 GB, free: 256 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-06/0.2611, allocations: 0 / 0.5657 GB, free: 256 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.458e-05/0.2611, allocations: 16.8 kB / 0.5657 GB, free: 236 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2611, allocations: 0 / 0.5657 GB, free: 236 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.229e-05/0.2612, allocations: 33.7 kB / 0.5657 GB, free: 196 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.2612, allocations: 9.969 kB / 0.5657 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.2612, allocations: 0 / 0.5657 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.2612, allocations: 0 / 0.5657 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.613e-05/0.2612, allocations: 8.094 kB / 0.5657 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2612, allocations: 3.984 kB / 0.5657 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.177e-05/0.2612, allocations: 0 / 0.5657 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.2613, allocations: 0 / 0.5657 GB, free: 176 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 6.865e-05/0.2613, allocations: 115.1 kB / 0.5658 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.2613, allocations: 3.938 kB / 0.5658 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.2615, allocations: 52.78 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2615, allocations: 0 / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.2615, allocations: 0 / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.2615, allocations: 0 / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.949e-05/0.2615, allocations: 124.7 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.2616, allocations: 0 / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-06/0.2616, allocations: 3.984 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2616, allocations: 7.938 kB / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-06/0.2616, allocations: 0 / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2616, allocations: 3.938 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2616, allocations: 32 / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.907e-05/0.2616, allocations: 61.08 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-06/0.2616, allocations: 3.938 kB / 0.5661 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.2617, allocations: 11.98 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.532e-05/0.2617, allocations: 0 / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.447e-05/0.2617, allocations: 7.984 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-06/0.2617, allocations: 0 / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.751e-05/0.2618, allocations: 83.31 kB / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2618, allocations: 0 / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.262, allocations: 43.92 kB / 0.5662 GB, free: 15.58 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.0002379/0.2623, allocations: 131.2 kB / 0.5664 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.407e-05/0.2623, allocations: 8 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2623, allocations: 0 / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.309e-05/0.2624, allocations: 29.7 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.2625, allocations: 8.141 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002021/0.2627, allocations: 114.7 kB / 0.5665 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.263, allocations: 0.6729 MB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.517e-05/0.263, allocations: 7.438 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.263, allocations: 4 kB / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of Templates: time 0.002238/0.2652, allocations: 0.9094 MB / 0.5681 GB, free: 13.62 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 6.4815051490440965]