Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.0009652/0.0009652, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001001/0.001001, allocations: 165 kB / 23.8 MB, free: 0.7695 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.9298/0.9298, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1246/0.1246, allocations: 32.38 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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 4 kB / 347.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.945e-06/9.297e-06, allocations: 6.312 kB / 347.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.000754/0.0007633, allocations: 0.5266 MB / 348.2 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001522/0.0009156, allocations: 99.66 kB / 348.3 MB, free: 8.848 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.041e-05/0.000926, allocations: 0 / 348.3 MB, free: 8.848 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.676e-06/0.0009347, allocations: 0 / 348.3 MB, free: 8.848 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.087e-05/0.0009455, allocations: 7.938 kB / 348.3 MB, free: 8.84 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.371e-05/0.001039, allocations: 11.97 kB / 348.3 MB, free: 8.828 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 2.863e-05/0.001068, allocations: 15.98 kB / 348.3 MB, free: 8.812 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 1.726e-05/0.001085, allocations: 0 / 348.3 MB, free: 8.812 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.921e-05/0.001104, allocations: 7.984 kB / 348.3 MB, free: 8.805 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.29e-05/0.001127, allocations: 8 kB / 348.3 MB, free: 8.797 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.785e-06/0.001135, allocations: 0 / 348.3 MB, free: 8.797 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.165e-05/0.001177, allocations: 31.95 kB / 348.4 MB, free: 8.766 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.165e-06/0.001185, allocations: 7.922 kB / 348.4 MB, free: 8.758 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.566e-06/0.001193, allocations: 0 / 348.4 MB, free: 8.758 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 5.008e-05/0.001243, allocations: 35.91 kB / 348.4 MB, free: 8.723 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.001245, allocations: 0 / 348.4 MB, free: 8.723 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.001245, allocations: 0 / 348.4 MB, free: 8.723 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.585e-06/0.001248, allocations: 0 / 348.4 MB, free: 8.723 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0001402/0.001388, allocations: 356.3 kB / 348.7 MB, free: 8.336 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.344e-05/0.001412, allocations: 8.031 kB / 348.8 MB, free: 8.328 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.861e-05/0.00143, allocations: 5.219 kB / 348.8 MB, free: 8.324 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 2.984e-05/0.00146, allocations: 112.6 kB / 348.9 MB, free: 8.188 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.199e-06/0.001465, allocations: 384 / 348.9 MB, free: 8.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.029e-06/0.00147, allocations: 4.375 kB / 348.9 MB, free: 8.184 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.239e-05/0.001533, allocations: 78.31 kB / 349 MB, free: 8.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.487e-06/0.001536, allocations: 192 / 349 MB, free: 8.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.939e-06/0.001541, allocations: 384 / 349 MB, free: 8.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.001545, allocations: 4.312 kB / 349 MB, free: 8.086 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.844e-05/0.001563, allocations: 19.88 kB / 349 MB, free: 8.066 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.001705, allocations: 370.7 kB / 349.3 MB, free: 7.664 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.313e-05/0.001728, allocations: 31.06 kB / 349.4 MB, free: 7.621 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/0.001746, allocations: 15.81 kB / 349.4 MB, free: 7.602 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.001753, allocations: 0 / 349.4 MB, free: 7.602 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.388e-06/0.001763, allocations: 45.33 kB / 349.4 MB, free: 7.547 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 5.01e-07/0.001763, allocations: 0 / 349.4 MB, free: 7.547 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 8.751e-05/0.001851, allocations: 53.62 kB / 349.5 MB, free: 7.488 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.302e-05/0.001864, allocations: 51.41 kB / 349.5 MB, free: 7.426 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.7e-05/0.001901, allocations: 157.9 kB / 349.7 MB, free: 7.254 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.308e-06/0.001905, allocations: 25.7 kB / 349.7 MB, free: 7.223 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.18e-05/0.001927, allocations: 134.8 kB / 349.8 MB, free: 7.086 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.655e-06/0.001935, allocations: 19.84 kB / 349.9 MB, free: 7.066 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/0.001954, allocations: 19.38 kB / 349.9 MB, free: 7.039 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.405e-05/0.001988, allocations: 496.1 kB / 350.4 MB, free: 6.543 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/0.002, allocations: 12.11 kB / 350.4 MB, free: 6.531 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.553e-05/0.002015, allocations: 27.31 kB / 350.4 MB, free: 6.496 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.675e-05/0.002042, allocations: 27.38 kB / 350.4 MB, free: 6.461 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.002044, allocations: 0 / 350.4 MB, free: 6.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.274e-05/0.002087, allocations: 57.86 kB / 350.5 MB, free: 6.398 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.002096, allocations: 8 kB / 350.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.0021, allocations: 7.922 kB / 350.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.00211, allocations: 0 / 350.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.546e-05/0.002146, allocations: 11.98 kB / 350.5 MB, free: 6.371 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.00215, allocations: 4.031 kB / 350.5 MB, free: 6.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.11e-05/0.002161, allocations: 0 / 350.5 MB, free: 6.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.002166, allocations: 4 kB / 350.5 MB, free: 6.363 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.274e-05/0.002199, allocations: 152.6 kB / 350.7 MB, free: 6.203 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.00221, allocations: 4 kB / 350.7 MB, free: 6.199 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.764e-05/0.002278, allocations: 69.38 kB / 350.7 MB, free: 6.121 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.00228, allocations: 7.984 kB / 350.7 MB, free: 6.113 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.002282, allocations: 0 / 350.7 MB, free: 6.113 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.002285, allocations: 0 / 350.7 MB, free: 6.113 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.997e-05/0.002345, allocations: 120.5 kB / 350.9 MB, free: 5.961 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.002345, allocations: 4 kB / 350.9 MB, free: 5.957 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.645e-05/0.002361, allocations: 8 kB / 350.9 MB, free: 5.949 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.72e-07/0.002362, allocations: 0 / 350.9 MB, free: 5.949 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-06/0.002367, allocations: 0 / 350.9 MB, free: 5.949 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.002369, allocations: 7.922 kB / 350.9 MB, free: 5.941 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.00237, allocations: 0 / 350.9 MB, free: 5.941 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.077e-05/0.00242, allocations: 199.9 kB / 351.1 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-06/0.002424, allocations: 3.984 kB / 351.1 MB, free: 5.723 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.804e-06/0.002432, allocations: 4 kB / 351.1 MB, free: 5.719 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.384e-05/0.002456, allocations: 3.938 kB / 351.1 MB, free: 5.715 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.002478, allocations: 4 kB / 351.1 MB, free: 5.711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.00248, allocations: 4 kB / 351.1 MB, free: 5.707 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.203e-05/0.002492, allocations: 127.2 kB / 351.2 MB, free: 5.582 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002492, allocations: 0 / 351.2 MB, free: 5.582 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001339/0.002626, allocations: 4 kB / 351.2 MB, free: 5.578 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 (5): * Single equations (assignments): 5 * 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 6.838e-05/0.002695, allocations: 99.19 kB / 351.3 MB, free: 5.473 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.625e-05/0.002761, allocations: 35.61 kB / 351.4 MB, free: 5.434 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.002762, allocations: 0 / 351.4 MB, free: 5.434 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.454e-05/0.002776, allocations: 15.84 kB / 351.4 MB, free: 5.414 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.002916, allocations: 12 kB / 351.4 MB, free: 5.402 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001454/0.003061, allocations: 114.3 kB / 351.5 MB, free: 5.262 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.012e-05/0.003081, allocations: 59.34 kB / 351.6 MB, free: 5.184 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.632e-05/0.003097, allocations: 8.156 kB / 351.6 MB, free: 5.176 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.667e-05/0.003114, allocations: 8.5 kB / 351.6 MB, free: 5.168 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.003115, allocations: 0 / 351.6 MB, free: 5.168 MB / 282.7 MB Notification: Performance of Templates: time 0.001739/0.004853, allocations: 0.5191 MB / 352.1 MB, free: 4.656 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.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.7690116427838802]