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.001797/0.001797, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.002204/0.002204, allocations: 167.3 kB / 24.5 MB, free: 3.453 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.435/1.435, allocations: 177.2 MB / 204.9 MB, free: 9.055 MB / 190.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.2043/0.2043, allocations: 34.27 MB / 295.5 MB, free: 14.6 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.002938/0.002938, allocations: 59.91 kB / 443.1 MB, free: 6.727 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3836, allocations: 66.01 MB / 0.4972 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001933/0.3855, allocations: 0.4965 MB / 0.4977 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.3872, allocations: 1.351 MB / 0.499 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.856e-05/0.3872, allocations: 0 / 0.499 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.768e-05/0.3872, allocations: 0 / 0.499 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.616e-05/0.3873, allocations: 3.938 kB / 0.499 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006953/0.388, allocations: 215.8 kB / 0.4992 GB, free: 28.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.37e-05/0.388, allocations: 3.375 kB / 0.4992 GB, free: 28.56 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.314e-05/0.3881, allocations: 3.219 kB / 0.4992 GB, free: 28.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.094e-05/0.3881, allocations: 7.938 kB / 0.4992 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.427e-05/0.3881, allocations: 14.75 kB / 0.4992 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.3882, allocations: 0 / 0.4992 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003896/0.3885, allocations: 261.5 kB / 0.4995 GB, free: 28.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.3886, allocations: 4 kB / 0.4995 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.658e-05/0.3886, allocations: 3.062 kB / 0.4995 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.3888, allocations: 146.8 kB / 0.4996 GB, free: 28.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3888, allocations: 0 / 0.4996 GB, free: 28.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3888, allocations: 0 / 0.4996 GB, free: 28.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.3888, allocations: 0 / 0.4996 GB, free: 28.45 MB / 446.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.0003036/0.3891, allocations: 262.3 kB / 0.4999 GB, free: 28.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.3891, allocations: 13.53 kB / 0.4999 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.3892, allocations: 0.9375 kB / 0.4999 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.869e-05/0.3893, allocations: 109 kB / 0.5 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.3893, allocations: 384 / 0.5 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.3893, allocations: 384 / 0.5 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.3894, allocations: 66.97 kB / 0.5001 GB, free: 27.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3894, allocations: 0 / 0.5001 GB, free: 27.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.3894, allocations: 0 / 0.5001 GB, free: 27.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3894, allocations: 3.156 kB / 0.5001 GB, free: 27.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.93e-05/0.3894, allocations: 0 / 0.5001 GB, free: 27.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.546e-05/0.3895, allocations: 104.3 kB / 0.5002 GB, free: 27.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.816e-05/0.3896, allocations: 17.77 kB / 0.5002 GB, free: 27.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.819e-05/0.3896, allocations: 12.8 kB / 0.5002 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.3896, allocations: 3.062 kB / 0.5002 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.3896, allocations: 30.56 kB / 0.5002 GB, free: 27.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.3896, allocations: 0 / 0.5002 GB, free: 27.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000123/0.3897, allocations: 39.34 kB / 0.5003 GB, free: 27.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.3898, allocations: 51.41 kB / 0.5003 GB, free: 27.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.683e-05/0.3898, allocations: 96.98 kB / 0.5004 GB, free: 27.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.3898, allocations: 33.36 kB / 0.5005 GB, free: 27.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.498e-05/0.3898, allocations: 80.14 kB / 0.5005 GB, free: 27.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.3899, allocations: 3.953 kB / 0.5005 GB, free: 27.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.3899, allocations: 16.42 kB / 0.5005 GB, free: 27.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.569e-05/0.3899, allocations: 310.8 kB / 0.5008 GB, free: 27.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.103e-05/0.3899, allocations: 3.938 kB / 0.5008 GB, free: 27.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.902e-06/0.39, allocations: 3.125 kB / 0.5008 GB, free: 27.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.46e-05/0.39, allocations: 12.33 kB / 0.5009 GB, free: 27.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.39, allocations: 0 / 0.5009 GB, free: 27.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.96e-05/0.39, allocations: 43.39 kB / 0.5009 GB, free: 27.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.39, allocations: 6.562 kB / 0.5009 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.39, allocations: 3.938 kB / 0.5009 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3901, allocations: 0 / 0.5009 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.651e-05/0.3901, allocations: 7.031 kB / 0.5009 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3901, allocations: 0 / 0.5009 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.194e-05/0.3901, allocations: 3.938 kB / 0.5009 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.3902, allocations: 0 / 0.5009 GB, free: 27.06 MB / 446.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 4.863e-05/0.3902, allocations: 117.5 kB / 0.501 GB, free: 26.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.126e-06/0.3902, allocations: 3.984 kB / 0.501 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.3903, allocations: 53.73 kB / 0.5011 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3903, allocations: 0 / 0.5011 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3903, allocations: 0 / 0.5011 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.3903, allocations: 0 / 0.5011 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.236e-05/0.3904, allocations: 99.92 kB / 0.5012 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3904, allocations: 0 / 0.5012 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-06/0.3904, allocations: 3.094 kB / 0.5012 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.3904, allocations: 0 / 0.5012 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.3904, allocations: 4.031 kB / 0.5012 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3904, allocations: 3.938 kB / 0.5012 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3904, allocations: 0 / 0.5012 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.557e-05/0.3904, allocations: 66.31 kB / 0.5013 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-06/0.3904, allocations: 0 / 0.5013 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.3904, allocations: 3.219 kB / 0.5013 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.596e-05/0.3905, allocations: 7.031 kB / 0.5013 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.3905, allocations: 0 / 0.5013 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.3905, allocations: 3.312 kB / 0.5013 GB, free: 26.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.794e-05/0.3905, allocations: 79.28 kB / 0.5013 GB, free: 26.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3905, allocations: 4.125 kB / 0.5014 GB, free: 26.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002302/0.3908, allocations: 43.59 kB / 0.5014 GB, free: 26.59 MB / 446.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.0002077/0.391, allocations: 132.1 kB / 0.5015 GB, free: 26.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.457e-05/0.3911, allocations: 14.67 kB / 0.5015 GB, free: 26.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3911, allocations: 0 / 0.5015 GB, free: 26.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.032e-05/0.3911, allocations: 32.77 kB / 0.5016 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.3913, allocations: 3.547 kB / 0.5016 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001887/0.3914, allocations: 91.59 kB / 0.5017 GB, free: 26.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.811e-05/0.3915, allocations: 62.73 kB / 0.5017 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.394e-05/0.3915, allocations: 3.031 kB / 0.5017 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.432e-05/0.3915, allocations: 8.5 kB / 0.5017 GB, free: 26.26 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3915, allocations: 0 / 0.5017 GB, free: 26.26 MB / 446.1 MB Notification: Performance of Templates: time 0.003371/0.3949, allocations: 1.09 MB / 0.5028 GB, free: 26.16 MB / 446.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 ida -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.890757643035613]