Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.0008647/0.0008647, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001314/0.002179, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007566/0.0007566, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001058/0.001814, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9319/0.9319, allocations: 177.5 MB / 190.1 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1025/1.034, allocations: 53.86 MB / 243.9 MB, free: 14.85 MB / 250.7 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.2655/0.2655, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01972/0.2852, allocations: 13.23 MB / 292.8 MB, free: 6.387 MB / 282.7 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.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 294.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.589e-05, allocations: 4.234 kB / 294.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.002321/0.002347, allocations: 0.5863 MB / 294.7 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003127/0.00266, allocations: 163.2 kB / 294.8 MB, free: 4.359 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.496e-05/0.002685, allocations: 0 / 294.8 MB, free: 4.359 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.384e-06/0.002692, allocations: 0 / 294.8 MB, free: 4.359 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.002845, allocations: 35.77 kB / 294.9 MB, free: 4.324 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.306e-06/0.002848, allocations: 0 / 294.9 MB, free: 4.324 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.408e-05/0.002902, allocations: 19.88 kB / 294.9 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.299e-05/0.002945, allocations: 11.98 kB / 294.9 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.971e-05/0.002995, allocations: 19.92 kB / 294.9 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.003056, allocations: 7.984 kB / 294.9 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.003068, allocations: 0 / 294.9 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.003197, allocations: 59.81 kB / 295 MB, free: 4.207 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.00321, allocations: 4 kB / 295 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.207e-05/0.003222, allocations: 4 kB / 295 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.003348, allocations: 39.83 kB / 295 MB, free: 4.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.257e-05/0.003361, allocations: 4 kB / 295 MB, free: 4.156 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.003362, allocations: 3.938 kB / 295 MB, free: 4.152 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.00337, allocations: 0 / 295 MB, free: 4.152 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002517/0.003622, allocations: 237.8 kB / 295.3 MB, free: 3.895 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.003654, allocations: 12.03 kB / 295.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.003687, allocations: 8.922 kB / 295.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.482e-05/0.003772, allocations: 109.8 kB / 295.4 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.003782, allocations: 384 / 295.4 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.003796, allocations: 8.375 kB / 295.4 MB, free: 3.734 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.337e-05/0.00389, allocations: 54.17 kB / 295.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.003898, allocations: 192 / 295.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.003905, allocations: 384 / 295.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.003911, allocations: 384 / 295.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.099e-05/0.003972, allocations: 35.91 kB / 295.5 MB, free: 3.641 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000102/0.004074, allocations: 72.94 kB / 295.6 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.004193, allocations: 74.56 kB / 295.6 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.71e-05/0.00422, allocations: 16.86 kB / 295.7 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001513/0.004371, allocations: 27.91 kB / 295.7 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.004396, allocations: 38.56 kB / 295.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.004398, allocations: 0 / 295.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001378/0.004535, allocations: 67.03 kB / 295.8 MB, free: 3.309 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.004566, allocations: 51.41 kB / 295.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.326e-05/0.004619, allocations: 106.7 kB / 295.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.004634, allocations: 29.7 kB / 296 MB, free: 3.094 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.134e-05/0.004655, allocations: 80.14 kB / 296.1 MB, free: 3.012 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.004697, allocations: 31.69 kB / 296.1 MB, free: 2.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.004732, allocations: 25.7 kB / 296.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.726e-05/0.004819, allocations: 318.8 kB / 296.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.728e-05/0.004836, allocations: 8 kB / 296.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.68e-05/0.004853, allocations: 11.98 kB / 296.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.12e-05/0.004904, allocations: 33.72 kB / 296.5 MB, free: 2.574 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.004907, allocations: 0 / 296.5 MB, free: 2.574 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.915e-05/0.004996, allocations: 72.55 kB / 296.5 MB, free: 2.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.005008, allocations: 8 kB / 296.5 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.005013, allocations: 0 / 296.5 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.005024, allocations: 0 / 296.5 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.586e-05/0.00511, allocations: 16 kB / 296.6 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.005113, allocations: 0 / 296.6 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.068e-05/0.005134, allocations: 7.984 kB / 296.6 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-06/0.00514, allocations: 4 kB / 296.6 MB, free: 2.465 MB / 282.7 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 (10): * Single equations (assignments): 10 * 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 6.43e-05/0.005204, allocations: 109.8 kB / 296.7 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.005216, allocations: 8 kB / 296.7 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.00534, allocations: 73.58 kB / 296.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.005344, allocations: 3.984 kB / 296.8 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.005345, allocations: 4 kB / 296.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.005348, allocations: 0 / 296.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.618e-05/0.005434, allocations: 89.72 kB / 296.9 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.005435, allocations: 0 / 296.9 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.756e-05/0.005493, allocations: 19.98 kB / 296.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-06/0.005499, allocations: 3.984 kB / 296.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.005502, allocations: 0 / 296.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.005509, allocations: 11.94 kB / 296.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.005511, allocations: 0 / 296.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.005512, allocations: 7.938 kB / 296.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.279e-05/0.005605, allocations: 93.03 kB / 297 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.005616, allocations: 4 kB / 297 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.638e-05/0.005632, allocations: 4 kB / 297 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.005651, allocations: 11.92 kB / 297 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.005655, allocations: 0 / 297 MB, free: 1.977 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.107e-06/0.005664, allocations: 4.859 kB / 297 MB, free: 1.969 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005664, allocations: 0 / 297 MB, free: 1.969 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001717/0.005836, allocations: 16 kB / 297 MB, free: 1.953 MB / 282.7 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 (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0001234/0.005959, allocations: 92.44 kB / 297.1 MB, free: 1.855 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.564e-05/0.006045, allocations: 36.84 kB / 297.2 MB, free: 1.816 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.006053, allocations: 11.94 kB / 297.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.486e-05/0.006098, allocations: 35.97 kB / 297.2 MB, free: 1.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.102e-05/0.006179, allocations: 16.58 kB / 297.2 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000261/0.00644, allocations: 134.4 kB / 297.4 MB, free: 1.598 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.146e-05/0.006471, allocations: 59.34 kB / 297.4 MB, free: 1.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.984e-05/0.006501, allocations: 8 kB / 297.4 MB, free: 1.512 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.006542, allocations: 55.38 kB / 297.5 MB, free: 1.457 MB / 282.7 MB Notification: Performance of SimCode: time 7.02e-07/0.006542, allocations: 0 / 297.5 MB, free: 1.457 MB / 282.7 MB Notification: Performance of Templates: time 0.002566/0.009108, allocations: 0.6917 MB / 298.2 MB, free: 0.7695 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.60498518217355]