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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001744/0.001744, allocations: 109.6 kB / 20.37 MB, free: 2.094 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002038/0.002038, allocations: 214.6 kB / 23.54 MB, free: 5.395 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 230.2 MB / 256.7 MB, free: 8.641 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2286/0.2286, allocations: 46.9 MB / 359.9 MB, free: 4.992 MB / 286.1 MB [Timeout remaining time 90] 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.002267/0.002267, allocations: 80.05 kB / 0.495 GB, free: 8.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3203, allocations: 65.98 MB / 0.5594 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001667/0.3219, allocations: 0.4969 MB / 0.5599 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.3239, allocations: 1.414 MB / 0.5613 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.194e-05/0.3239, allocations: 0 / 0.5613 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.257e-05/0.324, allocations: 0 / 0.5613 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.015e-05/0.324, allocations: 0 / 0.5613 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007425/0.3247, allocations: 219.1 kB / 0.5615 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.646e-05/0.3248, allocations: 11.98 kB / 0.5615 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.884e-05/0.3248, allocations: 4 kB / 0.5615 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.093e-05/0.3248, allocations: 3.984 kB / 0.5615 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.776e-05/0.3249, allocations: 4 kB / 0.5615 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.3249, allocations: 0 / 0.5615 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004979/0.3254, allocations: 279.6 kB / 0.5618 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.3254, allocations: 0 / 0.5618 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.3255, allocations: 11.92 kB / 0.5618 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.3257, allocations: 146 kB / 0.5619 GB, free: 2.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3257, allocations: 0 / 0.5619 GB, free: 2.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3257, allocations: 4 kB / 0.5619 GB, free: 2.609 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.3258, allocations: 7.938 kB / 0.5619 GB, free: 2.602 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.0005029/0.3263, allocations: 335.3 kB / 0.5622 GB, free: 2.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.3263, allocations: 12.03 kB / 0.5623 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.3263, allocations: 0.9375 kB / 0.5623 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.3265, allocations: 164.3 kB / 0.5624 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.3265, allocations: 384 / 0.5624 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.3265, allocations: 384 / 0.5624 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.3266, allocations: 42 kB / 0.5625 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3266, allocations: 0 / 0.5625 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3267, allocations: 0 / 0.5625 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3267, allocations: 4 kB / 0.5625 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.408e-05/0.3267, allocations: 3.938 kB / 0.5625 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002015/0.3269, allocations: 153.7 kB / 0.5626 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.139e-05/0.3269, allocations: 18.52 kB / 0.5626 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.263e-05/0.327, allocations: 8.922 kB / 0.5626 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.327, allocations: 4 kB / 0.5626 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.327, allocations: 38.5 kB / 0.5627 GB, free: 1.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.327, allocations: 0 / 0.5627 GB, free: 1.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001662/0.3272, allocations: 41.64 kB / 0.5627 GB, free: 1.625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.3272, allocations: 55.39 kB / 0.5628 GB, free: 1.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.378e-05/0.3273, allocations: 89.86 kB / 0.5628 GB, free: 1.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.3273, allocations: 29.7 kB / 0.5629 GB, free: 1.426 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.3274, allocations: 84.39 kB / 0.563 GB, free: 1.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.3274, allocations: 3.953 kB / 0.563 GB, free: 1.336 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.3274, allocations: 13.72 kB / 0.563 GB, free: 1.316 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3276, allocations: 314.8 kB / 0.5633 GB, free: 1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.182e-05/0.3276, allocations: 0 / 0.5633 GB, free: 1 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.157e-06/0.3276, allocations: 3.984 kB / 0.5633 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.698e-05/0.3276, allocations: 8.859 kB / 0.5633 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3276, allocations: 0 / 0.5633 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.928e-05/0.3277, allocations: 41.7 kB / 0.5633 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3277, allocations: 7.938 kB / 0.5633 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.3277, allocations: 0 / 0.5633 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3277, allocations: 0 / 0.5633 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.785e-05/0.3278, allocations: 4 kB / 0.5633 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3278, allocations: 0 / 0.5633 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.711e-05/0.3278, allocations: 7.984 kB / 0.5633 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.3278, allocations: 0 / 0.5633 GB, free: 0.918 MB / 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 8.907e-05/0.3279, allocations: 113.8 kB / 0.5635 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-06/0.3279, allocations: 7.938 kB / 0.5635 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.328, allocations: 44.81 kB / 0.5635 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.328, allocations: 0 / 0.5635 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.328, allocations: 0 / 0.5635 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.328, allocations: 3.984 kB / 0.5635 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.3281, allocations: 145.7 kB / 0.5636 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.3282, allocations: 32 / 0.5636 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-06/0.3282, allocations: 15.86 kB / 0.5637 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3282, allocations: 7.875 kB / 0.5637 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.3282, allocations: 4 kB / 0.5637 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3282, allocations: 0 / 0.5637 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3282, allocations: 0 / 0.5637 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.926e-05/0.3282, allocations: 57.14 kB / 0.5637 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/0.3283, allocations: 81.05 kB / 0.5638 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.3283, allocations: 8.016 kB / 0.5638 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.3284, allocations: 4 kB / 0.5638 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.375e-05/0.3284, allocations: 4 kB / 0.5638 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.3284, allocations: 0 / 0.5638 GB, free: 340 kB / 398.1 MB Notification: Performance of sorting global known variables: time 4.002e-05/0.3284, allocations: 79.28 kB / 0.5639 GB, free: 260 kB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3284, allocations: 0 / 0.5639 GB, free: 260 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.3287, allocations: 43.92 kB / 0.5639 GB, free: 216 kB / 398.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.0002715/0.329, allocations: 135.2 kB / 0.5641 GB, free: 68 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.417e-05/0.329, allocations: 12.03 kB / 0.5641 GB, free: 56 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.329, allocations: 0 / 0.5641 GB, free: 56 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.873e-05/0.3291, allocations: 29.7 kB / 0.5641 GB, free: 20 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.3292, allocations: 7.984 kB / 0.5641 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.3295, allocations: 110.8 kB / 0.5642 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.3298, allocations: 0.6767 MB / 0.5649 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.65e-05/0.3298, allocations: 7.438 kB / 0.5649 GB, free: 15.16 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3298, allocations: 128 / 0.5649 GB, free: 15.16 MB / 414.1 MB Notification: Performance of Templates: time 0.002647/0.3325, allocations: 0.9217 MB / 0.5658 GB, free: 14.23 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.0.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