Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.001649/0.001649, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002114/0.002114, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.465/1.465, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2453/0.2453, allocations: 46.96 MB / 361.6 MB, free: 4.051 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 59.91 kB / 0.4973 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3185, allocations: 66.04 MB / 0.5618 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001588/0.3201, allocations: 0.4945 MB / 0.5623 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.3221, allocations: 1.354 MB / 0.5636 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.389e-05/0.3221, allocations: 0 / 0.5636 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.452e-05/0.3221, allocations: 0 / 0.5636 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.959e-05/0.3221, allocations: 0 / 0.5636 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007008/0.3228, allocations: 219.4 kB / 0.5638 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.442e-05/0.3229, allocations: 4 kB / 0.5638 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.3229, allocations: 4 kB / 0.5638 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.285e-05/0.323, allocations: 11.92 kB / 0.5638 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.185e-05/0.323, allocations: 7.984 kB / 0.5638 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.323, allocations: 4 kB / 0.5638 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004564/0.3235, allocations: 255.6 kB / 0.5641 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.3235, allocations: 4 kB / 0.5641 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.931e-05/0.3235, allocations: 4 kB / 0.5641 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.3237, allocations: 146 kB / 0.5642 GB, free: 1.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3237, allocations: 4 kB / 0.5642 GB, free: 1.703 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3237, allocations: 0 / 0.5642 GB, free: 1.703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.3238, allocations: 0 / 0.5642 GB, free: 1.703 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.0003539/0.3241, allocations: 258.3 kB / 0.5645 GB, free: 1.422 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.3241, allocations: 8.031 kB / 0.5645 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.3242, allocations: 8.891 kB / 0.5645 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.208e-05/0.3243, allocations: 106.5 kB / 0.5646 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.3243, allocations: 384 / 0.5646 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.954e-06/0.3243, allocations: 384 / 0.5646 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.3244, allocations: 75.64 kB / 0.5647 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3244, allocations: 3.938 kB / 0.5647 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.3244, allocations: 0 / 0.5647 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3244, allocations: 0 / 0.5647 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.897e-05/0.3245, allocations: 8 kB / 0.5647 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.3248, allocations: 188.6 kB / 0.5649 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.264e-05/0.3249, allocations: 26.52 kB / 0.5649 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.709e-05/0.3249, allocations: 4.859 kB / 0.5649 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.3249, allocations: 3.938 kB / 0.5649 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.3249, allocations: 38.62 kB / 0.5649 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3249, allocations: 0 / 0.5649 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001345/0.3251, allocations: 29.7 kB / 0.565 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.3251, allocations: 51.41 kB / 0.565 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.885e-05/0.3252, allocations: 97.84 kB / 0.5651 GB, free: 0.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.3252, allocations: 25.7 kB / 0.5651 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/0.3253, allocations: 96.28 kB / 0.5652 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.823e-06/0.3253, allocations: 7.953 kB / 0.5652 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.3253, allocations: 13.72 kB / 0.5652 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3254, allocations: 318.8 kB / 0.5655 GB, free: 196 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/0.3254, allocations: 4 kB / 0.5655 GB, free: 192 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.986e-05/0.3255, allocations: 22.52 kB / 0.5656 GB, free: 160 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.602e-05/0.3255, allocations: 26.52 kB / 0.5656 GB, free: 124 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.3255, allocations: 7.938 kB / 0.5656 GB, free: 116 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.532e-05/0.3256, allocations: 49.62 kB / 0.5656 GB, free: 60 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3256, allocations: 8 kB / 0.5657 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.3256, allocations: 0 / 0.5657 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.3256, allocations: 0 / 0.5657 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.237e-05/0.3257, allocations: 11.94 kB / 0.5657 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.3257, allocations: 0 / 0.5657 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.901e-05/0.3257, allocations: 4 kB / 0.5657 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.3257, allocations: 7.984 kB / 0.5657 GB, free: 28 kB / 398.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 9.429e-05/0.3258, allocations: 109.8 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.3258, allocations: 0 / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.3259, allocations: 49.03 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3259, allocations: 4 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3259, allocations: 3.984 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3259, allocations: 0 / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.3261, allocations: 97.27 kB / 0.5659 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.3261, allocations: 7.938 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.3261, allocations: 0 / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.3261, allocations: 0 / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.3261, allocations: 4.031 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3261, allocations: 0 / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3261, allocations: 3.938 kB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.3262, allocations: 135.5 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.148e-06/0.3262, allocations: 11.95 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.3262, allocations: 0 / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.279e-05/0.3263, allocations: 0 / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.134e-05/0.3263, allocations: 0 / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.3263, allocations: 4 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.305e-05/0.3263, allocations: 79.3 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3263, allocations: 4.094 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003201/0.3266, allocations: 43.94 kB / 0.5662 GB, free: 15.41 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.0002538/0.3269, allocations: 135.1 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.321e-05/0.327, allocations: 11.94 kB / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.327, allocations: 0 / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.327, allocations: 37.64 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.3272, allocations: 3.938 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002274/0.3274, allocations: 110.9 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.476e-05/0.3275, allocations: 59.36 kB / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.581e-05/0.3275, allocations: 11.38 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3275, allocations: 0 / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of Templates: time 0.002505/0.33, allocations: 0.9328 MB / 0.5675 GB, free: 14.05 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 7.28708346420899]