Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.001014/0.001014, allocations: 95.31 kB / 20.43 MB, free: 4.145 MB / 18.57 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.001698/0.001698, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.846/0.846, allocations: 158.6 MB / 185.7 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1274/0.1274, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 347.7 MB, free: 9.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.468e-05, allocations: 2.312 kB / 347.7 MB, free: 9.402 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001182/0.001197, allocations: 0.5943 MB / 348.3 MB, free: 8.812 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002353/0.001432, allocations: 115.5 kB / 348.4 MB, free: 8.699 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.407e-05/0.001456, allocations: 0 / 348.4 MB, free: 8.699 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.001473, allocations: 3.938 kB / 348.4 MB, free: 8.695 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.001656, allocations: 35.78 kB / 348.5 MB, free: 8.66 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.725e-06/0.001659, allocations: 4 kB / 348.5 MB, free: 8.656 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.938e-05/0.001698, allocations: 19.92 kB / 348.5 MB, free: 8.637 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.867e-05/0.001727, allocations: 3.984 kB / 348.5 MB, free: 8.633 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.17e-05/0.001749, allocations: 11.94 kB / 348.5 MB, free: 8.621 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.146e-05/0.00179, allocations: 15.91 kB / 348.5 MB, free: 8.605 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.001801, allocations: 4 kB / 348.5 MB, free: 8.602 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.239e-05/0.001883, allocations: 47.89 kB / 348.6 MB, free: 8.555 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.001894, allocations: 7.984 kB / 348.6 MB, free: 8.547 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.121e-05/0.001905, allocations: 3.938 kB / 348.6 MB, free: 8.543 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.848e-05/0.001993, allocations: 51.86 kB / 348.6 MB, free: 8.492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.001995, allocations: 4 kB / 348.6 MB, free: 8.488 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.001996, allocations: 0 / 348.6 MB, free: 8.488 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.865e-06/0.001999, allocations: 0 / 348.6 MB, free: 8.488 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.0001962/0.002195, allocations: 364.5 kB / 349 MB, free: 8.094 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.756e-05/0.002223, allocations: 8.031 kB / 349 MB, free: 8.086 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.002251, allocations: 8.891 kB / 349 MB, free: 8.078 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.587e-05/0.002297, allocations: 116.6 kB / 349.1 MB, free: 7.938 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-06/0.002305, allocations: 384 / 349.1 MB, free: 7.938 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.002315, allocations: 4.375 kB / 349.1 MB, free: 7.934 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.284e-05/0.002388, allocations: 54.23 kB / 349.2 MB, free: 7.875 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.002395, allocations: 192 / 349.2 MB, free: 7.875 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.002402, allocations: 8.375 kB / 349.2 MB, free: 7.867 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.002408, allocations: 384 / 349.2 MB, free: 7.867 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.029e-05/0.002469, allocations: 47.83 kB / 349.2 MB, free: 7.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.583e-05/0.002554, allocations: 124.6 kB / 349.3 MB, free: 7.664 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.763e-05/0.002642, allocations: 79.03 kB / 349.4 MB, free: 7.574 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.881e-05/0.002671, allocations: 27.67 kB / 349.4 MB, free: 7.543 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.002814, allocations: 19.98 kB / 349.5 MB, free: 7.523 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.002828, allocations: 41.38 kB / 349.5 MB, free: 7.473 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.002829, allocations: 4.281 kB / 349.5 MB, free: 7.469 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001376/0.002967, allocations: 97.58 kB / 349.6 MB, free: 7.367 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.535e-05/0.002982, allocations: 55.34 kB / 349.7 MB, free: 7.301 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.114e-05/0.003013, allocations: 161.9 kB / 349.8 MB, free: 7.125 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.069e-06/0.003018, allocations: 25.7 kB / 349.8 MB, free: 7.094 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.268e-06/0.003028, allocations: 126.9 kB / 350 MB, free: 6.965 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/0.003075, allocations: 35.69 kB / 350 MB, free: 6.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.003104, allocations: 35.36 kB / 350 MB, free: 6.887 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.218e-05/0.003136, allocations: 492.1 kB / 350.5 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.529e-05/0.003161, allocations: 16.11 kB / 350.5 MB, free: 6.379 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.861e-05/0.00318, allocations: 16.38 kB / 350.5 MB, free: 6.363 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.932e-05/0.003229, allocations: 55.73 kB / 350.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.003231, allocations: 0 / 350.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.467e-05/0.003305, allocations: 73.69 kB / 350.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/0.003315, allocations: 4 kB / 350.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.003318, allocations: 0 / 350.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.003332, allocations: 4 kB / 350.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.339e-05/0.003406, allocations: 23.92 kB / 350.7 MB, free: 6.195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.00341, allocations: 0 / 350.7 MB, free: 6.195 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.45e-05/0.003424, allocations: 11.83 kB / 350.7 MB, free: 6.184 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.003429, allocations: 4 kB / 350.7 MB, free: 6.18 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 3.518e-05/0.003464, allocations: 164.6 kB / 350.9 MB, free: 6.008 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-06/0.003471, allocations: 4 kB / 350.9 MB, free: 6.004 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.003572, allocations: 89.58 kB / 351 MB, free: 5.914 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.003573, allocations: 0 / 351 MB, free: 5.914 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.003576, allocations: 3.984 kB / 351 MB, free: 5.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.00358, allocations: 3.938 kB / 351 MB, free: 5.906 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.354e-05/0.003633, allocations: 136.5 kB / 351.1 MB, free: 5.738 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.003635, allocations: 0 / 351.1 MB, free: 5.738 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.26e-05/0.003667, allocations: 15.98 kB / 351.1 MB, free: 5.723 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.003669, allocations: 4 kB / 351.1 MB, free: 5.719 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.003674, allocations: 0 / 351.1 MB, free: 5.719 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.003674, allocations: 4 kB / 351.1 MB, free: 5.715 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.003675, allocations: 3.938 kB / 351.1 MB, free: 5.711 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.09e-05/0.003746, allocations: 120.4 kB / 351.3 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-06/0.003751, allocations: 11.94 kB / 351.3 MB, free: 5.559 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.225e-06/0.00376, allocations: 0 / 351.3 MB, free: 5.559 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.377e-06/0.003769, allocations: 3.938 kB / 351.3 MB, free: 5.555 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/0.003783, allocations: 7.984 kB / 351.3 MB, free: 5.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.003786, allocations: 4 kB / 351.3 MB, free: 5.543 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.236e-05/0.003798, allocations: 127.2 kB / 351.4 MB, free: 5.418 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003798, allocations: 0 / 351.4 MB, free: 5.418 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001245/0.003923, allocations: 11.94 kB / 351.4 MB, free: 5.406 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 8.203e-05/0.004005, allocations: 111.2 kB / 351.5 MB, free: 5.289 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.7e-05/0.004092, allocations: 55.59 kB / 351.6 MB, free: 5.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.004093, allocations: 4 kB / 351.6 MB, free: 5.227 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.225e-05/0.004116, allocations: 35.61 kB / 351.6 MB, free: 5.188 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.254e-05/0.004208, allocations: 8 kB / 351.6 MB, free: 5.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001993/0.004408, allocations: 143 kB / 351.8 MB, free: 5.012 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.688e-05/0.004424, allocations: 55.36 kB / 351.8 MB, free: 4.938 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.213e-05/0.004447, allocations: 7.984 kB / 351.8 MB, free: 4.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.985e-05/0.004466, allocations: 12.5 kB / 351.8 MB, free: 4.918 MB / 282.7 MB Notification: Performance of SimCode: time 3.6e-07/0.004467, allocations: 3.938 kB / 351.9 MB, free: 4.914 MB / 282.7 MB Notification: Performance of Templates: time 0.00174/0.006207, allocations: 0.6464 MB / 352.5 MB, free: 4.273 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.81839881837368]