Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.001666/0.001666, allocations: 117.4 kB / 18.45 MB, free: 4.562 MB / 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.002118/0.002118, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.505/1.505, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.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.2311/0.2311, allocations: 46.92 MB / 357.8 MB, free: 10.27 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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 67.89 kB / 0.4921 GB, free: 7.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1418, allocations: 65.99 MB / 0.5565 GB, free: 5.289 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.002038/0.1438, allocations: 0.5532 MB / 0.557 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009287/0.1448, allocations: 407.4 kB / 0.5574 GB, free: 4.332 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.855e-05/0.1448, allocations: 0 / 0.5574 GB, free: 4.332 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.403e-05/0.1448, allocations: 0 / 0.5574 GB, free: 4.332 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 4.282e-05/0.1449, allocations: 3.938 kB / 0.5574 GB, free: 4.328 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005947/0.1455, allocations: 135.6 kB / 0.5576 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.2e-05/0.1455, allocations: 27.86 kB / 0.5576 GB, free: 4.168 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.507e-05/0.1456, allocations: 7.984 kB / 0.5576 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.725e-05/0.1456, allocations: 11.94 kB / 0.5576 GB, free: 4.148 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.858e-05/0.1457, allocations: 19.91 kB / 0.5576 GB, free: 4.129 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.1457, allocations: 4 kB / 0.5576 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003966/0.1461, allocations: 159.8 kB / 0.5578 GB, free: 3.969 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.1461, allocations: 7.984 kB / 0.5578 GB, free: 3.961 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.1461, allocations: 15.81 kB / 0.5578 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.1464, allocations: 127.6 kB / 0.5579 GB, free: 3.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1464, allocations: 0 / 0.5579 GB, free: 3.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1464, allocations: 4 kB / 0.5579 GB, free: 3.816 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1464, allocations: 0 / 0.5579 GB, free: 3.816 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006706/0.1471, allocations: 375 kB / 0.5583 GB, free: 3.402 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.1471, allocations: 12.03 kB / 0.5583 GB, free: 3.391 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.1472, allocations: 0.9375 kB / 0.5583 GB, free: 3.391 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.1473, allocations: 168.3 kB / 0.5585 GB, free: 3.188 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.1473, allocations: 4.312 kB / 0.5585 GB, free: 3.184 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.1474, allocations: 8.375 kB / 0.5585 GB, free: 3.176 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.1476, allocations: 58.17 kB / 0.5585 GB, free: 3.113 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1476, allocations: 3.938 kB / 0.5585 GB, free: 3.109 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1476, allocations: 4 kB / 0.5585 GB, free: 3.105 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.1476, allocations: 7.938 kB / 0.5585 GB, free: 3.098 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.992e-05/0.1477, allocations: 23.98 kB / 0.5586 GB, free: 3.074 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/0.1479, allocations: 169.6 kB / 0.5587 GB, free: 2.859 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.1481, allocations: 54.59 kB / 0.5588 GB, free: 2.797 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.826e-05/0.1482, allocations: 28.84 kB / 0.5588 GB, free: 2.766 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003078/0.1485, allocations: 105.1 kB / 0.5589 GB, free: 2.645 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.1485, allocations: 34.56 kB / 0.5589 GB, free: 2.602 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 9.91e-07/0.1485, allocations: 0 / 0.5589 GB, free: 2.602 MB / 414.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.1462/0.2947, allocations: 6.38 MB / 0.5652 GB, free: 12.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.2948, allocations: 55.41 kB / 0.5652 GB, free: 12.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.2949, allocations: 101.8 kB / 0.5653 GB, free: 12.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.383e-05/0.295, allocations: 29.7 kB / 0.5653 GB, free: 11.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.295, allocations: 80.14 kB / 0.5654 GB, free: 11.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.2951, allocations: 71.31 kB / 0.5655 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.2953, allocations: 89.59 kB / 0.5656 GB, free: 11.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.2955, allocations: 330.8 kB / 0.5659 GB, free: 11.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005881/0.296, allocations: 227.8 kB / 0.5661 GB, free: 11.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006033/0.2967, allocations: 237.2 kB / 0.5663 GB, free: 10.94 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002203/0.2989, allocations: 0.5563 MB / 0.5669 GB, free: 10.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2989, allocations: 0 / 0.5669 GB, free: 10.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00199/0.3008, allocations: 0.6087 MB / 0.5675 GB, free: 9.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3009, allocations: 4 kB / 0.5675 GB, free: 9.766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3009, allocations: 4 kB / 0.5675 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.3009, allocations: 0 / 0.5675 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006791/0.3016, allocations: 115.8 kB / 0.5676 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3016, allocations: 0 / 0.5676 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004394/0.302, allocations: 19.97 kB / 0.5676 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.766e-05/0.3021, allocations: 36.41 kB / 0.5676 GB, free: 9.594 MB / 430.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 (19): * Single equations (assignments): 19 * 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 0.0001691/0.3023, allocations: 120 kB / 0.5678 GB, free: 9.469 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.066e-05/0.3023, allocations: 11.95 kB / 0.5678 GB, free: 9.457 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/0.3046, allocations: 0.7318 MB / 0.5685 GB, free: 8.719 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3046, allocations: 256 / 0.5685 GB, free: 8.719 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3046, allocations: 7.938 kB / 0.5685 GB, free: 8.711 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.3046, allocations: 8 kB / 0.5685 GB, free: 8.703 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004111/0.3087, allocations: 1.145 MB / 0.5696 GB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3087, allocations: 0 / 0.5696 GB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005375/0.3092, allocations: 108 kB / 0.5697 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.667e-06/0.3092, allocations: 3.984 kB / 0.5697 GB, free: 7.375 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.443e-05/0.3093, allocations: 27.95 kB / 0.5698 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.3093, allocations: 4 kB / 0.5698 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3093, allocations: 0 / 0.5698 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.3111, allocations: 0.5883 MB / 0.5703 GB, free: 6.723 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.3111, allocations: 89.05 kB / 0.5704 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.102e-05/0.3112, allocations: 4 kB / 0.5704 GB, free: 6.613 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/0.3116, allocations: 27.97 kB / 0.5704 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.3116, allocations: 19.92 kB / 0.5705 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-05/0.3117, allocations: 27.95 kB / 0.5705 GB, free: 6.539 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.834e-05/0.3117, allocations: 87.27 kB / 0.5706 GB, free: 6.453 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3117, allocations: 7.938 kB / 0.5706 GB, free: 6.445 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001964/0.3137, allocations: 0.6479 MB / 0.5712 GB, free: 5.797 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.003263/0.317, allocations: 294.1 kB / 0.5715 GB, free: 5.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.3182, allocations: 439.5 kB / 0.5719 GB, free: 5.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3182, allocations: 3.938 kB / 0.5719 GB, free: 5.066 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005401/0.3188, allocations: 187.8 kB / 0.5721 GB, free: 4.883 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.3191, allocations: 15.98 kB / 0.5721 GB, free: 4.867 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.3215, allocations: 0.5546 MB / 0.5727 GB, free: 4.262 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.3219, allocations: 0.6926 MB / 0.5733 GB, free: 3.539 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003421/0.3222, allocations: 95.28 kB / 0.5734 GB, free: 3.445 MB / 430.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3222, allocations: 0 / 0.5734 GB, free: 3.445 MB / 430.1 MB Notification: Performance of Templates: time 0.02711/0.3493, allocations: 15.96 MB / 0.589 GB, free: 3.5 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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: 11.505206417001318]