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.001384/0.001384, 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.00157/0.00157, allocations: 215.4 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.493/1.493, allocations: 230.6 MB / 258.3 MB, free: 7.77 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.2261/0.2261, allocations: 46.96 MB / 361.6 MB, free: 4.004 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.002101/0.002101, allocations: 67.89 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2876, allocations: 66.04 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001594/0.2892, allocations: 498 kB / 0.5623 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.2912, allocations: 1.358 MB / 0.5636 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.609e-05/0.2912, allocations: 0 / 0.5636 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.288e-05/0.2912, allocations: 0 / 0.5636 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.57e-05/0.2913, allocations: 0 / 0.5636 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007152/0.292, allocations: 219.1 kB / 0.5638 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.462e-05/0.292, allocations: 7.984 kB / 0.5638 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.549e-05/0.2921, allocations: 0 / 0.5638 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.645e-05/0.2921, allocations: 4 kB / 0.5638 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.066e-05/0.2921, allocations: 4 kB / 0.5638 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.2921, allocations: 0 / 0.5638 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004559/0.2926, allocations: 279.6 kB / 0.5641 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.2926, allocations: 7.922 kB / 0.5641 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.2926, allocations: 4 kB / 0.5641 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.2928, allocations: 142 kB / 0.5642 GB, free: 1.641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2928, allocations: 0 / 0.5642 GB, free: 1.641 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2928, allocations: 0 / 0.5642 GB, free: 1.641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.2929, 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003681/0.2932, allocations: 262.2 kB / 0.5645 GB, free: 1.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.2933, allocations: 12.03 kB / 0.5645 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.2933, allocations: 8.875 kB / 0.5645 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.2934, allocations: 102.5 kB / 0.5646 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.2934, allocations: 384 / 0.5646 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.2934, allocations: 4.359 kB / 0.5646 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.2935, allocations: 63.66 kB / 0.5647 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2936, allocations: 0 / 0.5647 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.2936, allocations: 0 / 0.5647 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2936, allocations: 3.938 kB / 0.5647 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.375e-05/0.2936, allocations: 8 kB / 0.5647 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.2937, allocations: 105.3 kB / 0.5648 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.841e-05/0.2938, allocations: 14.58 kB / 0.5648 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.044e-05/0.2938, allocations: 8.953 kB / 0.5648 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.2938, allocations: 0 / 0.5648 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.2938, allocations: 38.5 kB / 0.5648 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.2938, allocations: 0 / 0.5648 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001345/0.294, allocations: 37.64 kB / 0.5649 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.294, allocations: 51.41 kB / 0.5649 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.866e-05/0.2941, allocations: 97.84 kB / 0.565 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.2941, allocations: 29.95 kB / 0.5651 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.2942, allocations: 84.14 kB / 0.5651 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.2942, allocations: 3.953 kB / 0.5651 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.2942, allocations: 13.72 kB / 0.5651 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2943, allocations: 310.8 kB / 0.5654 GB, free: 244 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/0.2943, allocations: 4 kB / 0.5654 GB, free: 240 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-06/0.2944, allocations: 0 / 0.5654 GB, free: 240 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.906e-05/0.2944, allocations: 16.8 kB / 0.5655 GB, free: 220 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.2944, allocations: 3.984 kB / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.983e-05/0.2944, allocations: 33.8 kB / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.2945, allocations: 8 kB / 0.5655 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2945, allocations: 3.938 kB / 0.5655 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.2945, allocations: 0 / 0.5655 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.47e-05/0.2945, allocations: 4 kB / 0.5655 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2945, allocations: 0 / 0.5655 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.262e-05/0.2945, allocations: 0 / 0.5655 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.2946, allocations: 0 / 0.5655 GB, free: 160 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 7.767e-05/0.2946, allocations: 113.8 kB / 0.5656 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.014e-05/0.2946, allocations: 8 kB / 0.5656 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.2948, allocations: 52.73 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2948, allocations: 0 / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.2948, allocations: 3.984 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.2948, allocations: 0 / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.375e-05/0.2949, allocations: 105.3 kB / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.2949, allocations: 3.938 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.2949, allocations: 3.938 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.2949, allocations: 0 / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.2949, allocations: 8.031 kB / 0.5658 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2949, allocations: 3.938 kB / 0.5658 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2949, allocations: 0 / 0.5658 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.224e-05/0.295, allocations: 65.06 kB / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-06/0.295, allocations: 0 / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.295, allocations: 4 kB / 0.5659 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.2951, allocations: 3.938 kB / 0.5659 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/0.2951, allocations: 0 / 0.5659 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.2951, allocations: 4 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.592e-05/0.2951, allocations: 83.27 kB / 0.566 GB, free: 15.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2951, allocations: 4.125 kB / 0.566 GB, free: 15.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000246/0.2954, allocations: 39.94 kB / 0.566 GB, free: 15.59 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.000262/0.2956, allocations: 131.2 kB / 0.5661 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.261e-05/0.2957, allocations: 8 kB / 0.5661 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.2957, allocations: 4 kB / 0.5661 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.772e-05/0.2957, allocations: 29.7 kB / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.2959, allocations: 0 / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001997/0.2961, allocations: 88.92 kB / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.529e-05/0.2961, allocations: 59.48 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.424e-05/0.2961, allocations: 0 / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/0.2962, allocations: 11.44 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2962, allocations: 0 / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of Templates: time 0.00386/0.3, allocations: 1.095 MB / 0.5674 GB, free: 14.11 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 -s gbode -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: 4.739800951007055]