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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001327/0.001327, allocations: 79.73 kB / 21.25 MB, free: 392 kB / 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.00144/0.00144, allocations: 163.1 kB / 24.5 MB, free: 3.449 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.419/1.419, allocations: 177.1 MB / 204.7 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] 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.2202/0.2202, allocations: 34.26 MB / 295.4 MB, free: 14.47 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.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.002438/0.002438, allocations: 83.81 kB / 443.1 MB, free: 6.508 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2834, allocations: 66.05 MB / 0.4972 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.00136/0.2848, allocations: 0.497 MB / 0.4977 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.2861, allocations: 1.351 MB / 0.4991 GB, free: 28.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.657e-05/0.2861, allocations: 0 / 0.4991 GB, free: 28.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.19e-05/0.2861, allocations: 0 / 0.4991 GB, free: 28.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.916e-05/0.2862, allocations: 3.25 kB / 0.4991 GB, free: 28.56 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005856/0.2868, allocations: 219.3 kB / 0.4993 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.154e-05/0.2868, allocations: 7.188 kB / 0.4993 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.562e-05/0.2868, allocations: 10.55 kB / 0.4993 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.428e-05/0.2868, allocations: 3.188 kB / 0.4993 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.1e-05/0.2869, allocations: 0 / 0.4993 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.2869, allocations: 0 / 0.4993 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003763/0.2873, allocations: 264.1 kB / 0.4995 GB, free: 28.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.2873, allocations: 0 / 0.4995 GB, free: 28.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.861e-05/0.2873, allocations: 10.86 kB / 0.4995 GB, free: 28.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.2875, allocations: 143.7 kB / 0.4997 GB, free: 28.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2875, allocations: 0 / 0.4997 GB, free: 28.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2875, allocations: 0 / 0.4997 GB, free: 28.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.2875, allocations: 4 kB / 0.4997 GB, free: 28.38 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.0002785/0.2878, allocations: 261.4 kB / 0.4999 GB, free: 28.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.2878, allocations: 9.719 kB / 0.4999 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.2878, allocations: 0.9375 kB / 0.4999 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.799e-05/0.2879, allocations: 110 kB / 0.5001 GB, free: 27.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.2879, allocations: 7.656 kB / 0.5001 GB, free: 27.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.802e-06/0.2879, allocations: 384 / 0.5001 GB, free: 27.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.298e-05/0.288, allocations: 62.81 kB / 0.5001 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.288, allocations: 0 / 0.5001 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.288, allocations: 0 / 0.5001 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.288, allocations: 4 kB / 0.5001 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.051e-05/0.2881, allocations: 6.875 kB / 0.5001 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.859e-05/0.2882, allocations: 104.5 kB / 0.5002 GB, free: 27.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.484e-05/0.2882, allocations: 17.61 kB / 0.5002 GB, free: 27.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.292e-05/0.2882, allocations: 8.797 kB / 0.5003 GB, free: 27.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.189e-06/0.2882, allocations: 0 / 0.5003 GB, free: 27.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.2882, allocations: 37.75 kB / 0.5003 GB, free: 27.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.2882, allocations: 0 / 0.5003 GB, free: 27.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001189/0.2883, allocations: 39.62 kB / 0.5003 GB, free: 27.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.037e-05/0.2884, allocations: 51.53 kB / 0.5004 GB, free: 27.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.4e-05/0.2884, allocations: 101.2 kB / 0.5005 GB, free: 27.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.703e-06/0.2884, allocations: 25.7 kB / 0.5005 GB, free: 27.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.159e-05/0.2884, allocations: 80.14 kB / 0.5006 GB, free: 27.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.2885, allocations: 7.109 kB / 0.5006 GB, free: 27.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.2885, allocations: 13.19 kB / 0.5006 GB, free: 27.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.809e-05/0.2885, allocations: 317.9 kB / 0.5009 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.02e-05/0.2885, allocations: 0 / 0.5009 GB, free: 27.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-06/0.2885, allocations: 3.188 kB / 0.5009 GB, free: 27.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.217e-05/0.2886, allocations: 12.17 kB / 0.5009 GB, free: 27.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2886, allocations: 8 kB / 0.5009 GB, free: 27.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.4e-05/0.2886, allocations: 35.17 kB / 0.501 GB, free: 27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.2886, allocations: 3.219 kB / 0.501 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2886, allocations: 7.156 kB / 0.501 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2886, allocations: 0 / 0.501 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.259e-05/0.2887, allocations: 0 / 0.501 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2887, allocations: 3.156 kB / 0.501 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.17e-05/0.2887, allocations: 0 / 0.501 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.2887, allocations: 0 / 0.501 GB, free: 26.99 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 3.886e-05/0.2887, allocations: 117.1 kB / 0.5011 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.265e-06/0.2887, allocations: 7.312 kB / 0.5011 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.234e-05/0.2888, allocations: 43.11 kB / 0.5011 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.2888, allocations: 3.094 kB / 0.5011 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.2888, allocations: 3.469 kB / 0.5011 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2889, allocations: 0 / 0.5011 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.026e-05/0.2889, allocations: 100.5 kB / 0.5012 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.2889, allocations: 0 / 0.5012 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.2889, allocations: 4.031 kB / 0.5012 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.2889, allocations: 0 / 0.5012 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-06/0.2889, allocations: 3.531 kB / 0.5012 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2889, allocations: 3.938 kB / 0.5012 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2889, allocations: 3.938 kB / 0.5012 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.242e-05/0.289, allocations: 61.86 kB / 0.5013 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-06/0.289, allocations: 4 kB / 0.5013 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-06/0.289, allocations: 0 / 0.5013 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.29e-05/0.289, allocations: 14.14 kB / 0.5013 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.075e-05/0.289, allocations: 0 / 0.5013 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.289, allocations: 7 kB / 0.5013 GB, free: 26.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.517e-05/0.2891, allocations: 75.28 kB / 0.5014 GB, free: 26.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2891, allocations: 0 / 0.5014 GB, free: 26.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002288/0.2893, allocations: 41.66 kB / 0.5014 GB, free: 26.52 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.0002062/0.2895, allocations: 139.8 kB / 0.5016 GB, free: 26.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.228e-05/0.2896, allocations: 7.094 kB / 0.5016 GB, free: 26.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2896, allocations: 0 / 0.5016 GB, free: 26.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.348e-05/0.2896, allocations: 28.83 kB / 0.5016 GB, free: 26.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.2897, allocations: 7.156 kB / 0.5016 GB, free: 26.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001724/0.2899, allocations: 95.69 kB / 0.5017 GB, free: 26.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.246e-05/0.2899, allocations: 54.48 kB / 0.5018 GB, free: 26.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.353e-05/0.29, allocations: 3.219 kB / 0.5018 GB, free: 26.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.358e-05/0.29, allocations: 8.5 kB / 0.5018 GB, free: 26.2 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.29, allocations: 0 / 0.5018 GB, free: 26.2 MB / 446.1 MB Notification: Performance of Templates: time 0.003077/0.293, allocations: 1.091 MB / 0.5028 GB, free: 26.09 MB / 446.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 -s ida -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.1.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 [Calling sys.exit(0), Time elapsed: 4.783204692066647]