Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.00145/0.00145, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001589/0.001589, allocations: 217 kB / 24.5 MB, free: 4.133 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.316/1.316, allocations: 230.5 MB / 258.1 MB, free: 8.02 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.2063/0.2063, allocations: 46.93 MB / 361.5 MB, free: 4.277 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 79.88 kB / 0.4974 GB, free: 7.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2724, allocations: 66.06 MB / 0.5619 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001446/0.2739, allocations: 0.5091 MB / 0.5624 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.2756, allocations: 1.411 MB / 0.5638 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.2756, allocations: 0 / 0.5638 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.2757, allocations: 0 / 0.5638 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.363e-05/0.2757, allocations: 0 / 0.5638 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000626/0.2763, allocations: 222.7 kB / 0.564 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.08e-05/0.2764, allocations: 11.98 kB / 0.564 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.664e-05/0.2764, allocations: 0 / 0.564 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.543e-05/0.2764, allocations: 4 kB / 0.564 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.195e-05/0.2764, allocations: 3.984 kB / 0.564 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.036e-06/0.2765, allocations: 4 kB / 0.564 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004312/0.2769, allocations: 275.6 kB / 0.5643 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.2769, allocations: 3.984 kB / 0.5643 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.2769, allocations: 7.938 kB / 0.5643 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.2771, allocations: 142 kB / 0.5644 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2771, allocations: 0 / 0.5644 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2771, allocations: 4 kB / 0.5645 GB, free: 1.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.2771, allocations: 0 / 0.5645 GB, free: 1.672 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.0003304/0.2775, allocations: 258.3 kB / 0.5647 GB, free: 1.391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.2775, allocations: 12.03 kB / 0.5647 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.2775, allocations: 4.891 kB / 0.5647 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.629e-05/0.2776, allocations: 106.5 kB / 0.5648 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.781e-06/0.2776, allocations: 384 / 0.5648 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.2776, allocations: 8.375 kB / 0.5648 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.2777, allocations: 37.95 kB / 0.5649 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2777, allocations: 4 kB / 0.5649 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.2778, allocations: 3.984 kB / 0.5649 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.2778, allocations: 3.938 kB / 0.5649 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.767e-05/0.2778, allocations: 8 kB / 0.5649 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.2781, allocations: 211.9 kB / 0.5651 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.61e-05/0.2781, allocations: 22.61 kB / 0.5651 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.631e-05/0.2782, allocations: 8.797 kB / 0.5651 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.2782, allocations: 11.98 kB / 0.5651 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.2782, allocations: 34.62 kB / 0.5652 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.2782, allocations: 0 / 0.5652 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001235/0.2783, allocations: 29.7 kB / 0.5652 GB, free: 0.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.2783, allocations: 51.41 kB / 0.5652 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.542e-05/0.2784, allocations: 101.8 kB / 0.5653 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.2784, allocations: 25.95 kB / 0.5654 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.694e-05/0.2785, allocations: 92.03 kB / 0.5654 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.732e-06/0.2785, allocations: 7.953 kB / 0.5654 GB, free: 500 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.2785, allocations: 13.72 kB / 0.5655 GB, free: 480 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.2787, allocations: 318.8 kB / 0.5658 GB, free: 152 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.297e-05/0.2787, allocations: 7.922 kB / 0.5658 GB, free: 144 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.199e-05/0.2787, allocations: 18.58 kB / 0.5658 GB, free: 116 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.72e-05/0.2787, allocations: 30.58 kB / 0.5658 GB, free: 76 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.2787, allocations: 0 / 0.5658 GB, free: 76 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.148e-05/0.2788, allocations: 49.62 kB / 0.5659 GB, free: 20 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.2788, allocations: 6.031 kB / 0.5659 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.2788, allocations: 0 / 0.5659 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.2788, allocations: 4 kB / 0.5659 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.4e-05/0.2789, allocations: 8.031 kB / 0.5659 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.2789, allocations: 4 kB / 0.5659 GB, free: 0 / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.178e-05/0.2789, allocations: 4.047 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.2789, allocations: 0 / 0.5659 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 7.612e-05/0.279, allocations: 115 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.279, allocations: 4 kB / 0.566 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.368e-05/0.2791, allocations: 44.86 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2791, allocations: 0 / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.2791, allocations: 0 / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.2791, allocations: 3.938 kB / 0.5661 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.2793, allocations: 128.7 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.2793, allocations: 0 / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.2793, allocations: 3.938 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.2793, allocations: 0 / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-06/0.2793, allocations: 0 / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.2793, allocations: 0 / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.2793, allocations: 4 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.865e-05/0.2794, allocations: 139.5 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-06/0.2794, allocations: 0 / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.195e-06/0.2794, allocations: 0 / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.439e-05/0.2794, allocations: 3.938 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.259e-05/0.2795, allocations: 0 / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.2795, allocations: 4 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.622e-05/0.2795, allocations: 83.3 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2795, allocations: 4.094 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.2798, allocations: 39.94 kB / 0.5664 GB, free: 15.35 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.0002453/0.28, allocations: 139.1 kB / 0.5666 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.761e-05/0.2801, allocations: 16 kB / 0.5666 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2801, allocations: 0 / 0.5666 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.13e-05/0.2802, allocations: 29.7 kB / 0.5666 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.0001849/0.2803, allocations: 3.938 kB / 0.5666 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002013/0.2805, allocations: 115 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.2808, allocations: 0.6728 MB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.583e-05/0.2808, allocations: 11.44 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.2808, allocations: 0 / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of Templates: time 0.002251/0.2831, allocations: 0.9218 MB / 0.5683 GB, free: 13.37 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 6.561064892914146]