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.0008108/0.0008108, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003265/0.003265, allocations: 160.7 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8401/0.8401, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2238/0.2238, allocations: 34.26 MB / 295.7 MB, free: 0.6914 MB / 266.7 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 1.984e-06/1.984e-06, allocations: 0 / 443.4 MB, free: 1.156 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.555e-05, allocations: 2.281 kB / 443.4 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.00146/0.001485, allocations: 0.5353 MB / 444 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008193/0.002305, allocations: 374.9 kB / 444.3 MB, free: 256 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.166e-05/0.002336, allocations: 0 / 444.3 MB, free: 256 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.939e-05/0.002356, allocations: 3.938 kB / 444.3 MB, free: 252 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.149e-05/0.002387, allocations: 0 / 444.3 MB, free: 252 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005132/0.0029, allocations: 135.4 kB / 444.5 MB, free: 116 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.385e-05/0.002964, allocations: 27.91 kB / 444.5 MB, free: 88 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.728e-05/0.003011, allocations: 4 kB / 444.5 MB, free: 84 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.416e-05/0.003056, allocations: 23.91 kB / 444.5 MB, free: 60 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.277e-05/0.003108, allocations: 11.98 kB / 444.5 MB, free: 48 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.003122, allocations: 0 / 444.5 MB, free: 48 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1733/0.1764, allocations: 137.5 kB / 444.7 MB, free: 43.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.1764, allocations: 5.375 kB / 444.7 MB, free: 43.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.595e-05/0.1764, allocations: 11.92 kB / 444.7 MB, free: 43.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.1766, allocations: 147.1 kB / 444.8 MB, free: 43.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1766, allocations: 0 / 444.8 MB, free: 43.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1766, allocations: 0 / 444.8 MB, free: 43.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1766, allocations: 0 / 444.8 MB, free: 43.8 MB / 410.7 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.0003427/0.177, allocations: 291.2 kB / 445.1 MB, free: 43.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.177, allocations: 15 kB / 445.1 MB, free: 43.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.1771, allocations: 7.422 kB / 445.1 MB, free: 43.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.348e-05/0.1771, allocations: 107.8 kB / 445.2 MB, free: 43.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1771, allocations: 6.969 kB / 445.2 MB, free: 43.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.1772, allocations: 8.828 kB / 445.3 MB, free: 43.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.473e-05/0.1773, allocations: 55.11 kB / 445.3 MB, free: 43.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1773, allocations: 1.562 kB / 445.3 MB, free: 43.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.1773, allocations: 1.094 kB / 445.3 MB, free: 43.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1773, allocations: 4.125 kB / 445.3 MB, free: 43.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.256e-05/0.1773, allocations: 34.48 kB / 445.3 MB, free: 43.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.806e-05/0.1774, allocations: 113.3 kB / 445.5 MB, free: 43.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.1776, allocations: 61.36 kB / 445.5 MB, free: 43.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.278e-05/0.1776, allocations: 24.36 kB / 445.5 MB, free: 43.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/0.1778, allocations: 32.09 kB / 445.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.001e-05/0.1778, allocations: 33.44 kB / 445.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.1778, allocations: 3.125 kB / 445.6 MB, free: 43.17 MB / 410.7 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.05741/0.2352, allocations: 6.38 MB / 452 MB, free: 42.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.2352, allocations: 54.44 kB / 452 MB, free: 42.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.359e-05/0.2353, allocations: 104.5 kB / 452.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.2353, allocations: 29.7 kB / 452.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.895e-05/0.2353, allocations: 85.08 kB / 452.3 MB, free: 42.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.766e-05/0.2354, allocations: 62.33 kB / 452.3 MB, free: 42.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.2355, allocations: 92.92 kB / 452.4 MB, free: 42.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.022e-05/0.2355, allocations: 317.3 kB / 452.7 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002996/0.2358, allocations: 235.5 kB / 452.9 MB, free: 41.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/0.2361, allocations: 226.2 kB / 453.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.2372, allocations: 0.562 MB / 453.7 MB, free: 41.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2372, allocations: 3.938 kB / 453.7 MB, free: 41.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009373/0.2381, allocations: 0.6074 MB / 454.3 MB, free: 41.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2382, allocations: 4.875 kB / 454.3 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.2382, allocations: 6.5 kB / 454.4 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.2382, allocations: 3 kB / 454.4 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.2385, allocations: 102.9 kB / 454.5 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.2385, allocations: 3.031 kB / 454.5 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.2387, allocations: 28.83 kB / 454.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.2387, allocations: 34.42 kB / 454.5 MB, free: 41.38 MB / 410.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 (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 8.624e-05/0.2388, allocations: 121.1 kB / 454.6 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.2388, allocations: 18.78 kB / 454.7 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.2399, allocations: 0.7194 MB / 455.4 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.2399, allocations: 0 / 455.4 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2399, allocations: 3.156 kB / 455.4 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2399, allocations: 3.281 kB / 455.4 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/0.2418, allocations: 1.047 MB / 456.4 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2418, allocations: 0 / 456.4 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.242, allocations: 100.1 kB / 456.5 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.242, allocations: 3.219 kB / 456.5 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.2421, allocations: 29.11 kB / 456.6 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2421, allocations: 8.125 kB / 456.6 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2421, allocations: 6.25 kB / 456.6 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008275/0.2429, allocations: 0.5761 MB / 457.1 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.779e-06/0.2429, allocations: 14.31 kB / 457.2 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.2429, allocations: 3.219 kB / 457.2 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.2431, allocations: 35.02 kB / 457.2 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.2431, allocations: 12.84 kB / 457.2 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.2432, allocations: 33.55 kB / 457.2 MB, free: 40.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.511e-05/0.2432, allocations: 82.97 kB / 457.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2432, allocations: 0 / 457.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001042/0.2442, allocations: 0.6492 MB / 458 MB, free: 40.14 MB / 410.7 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.002008/0.2462, allocations: 325.2 kB / 458.3 MB, free: 40.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006114/0.2468, allocations: 442.1 kB / 458.7 MB, free: 39.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.2468, allocations: 0 / 458.7 MB, free: 39.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002611/0.2471, allocations: 201.8 kB / 458.9 MB, free: 39.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.2473, allocations: 7.156 kB / 458.9 MB, free: 39.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.2484, allocations: 0.552 MB / 459.5 MB, free: 39.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.338e-05/0.2484, allocations: 83.83 kB / 459.6 MB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.2486, allocations: 89.5 kB / 459.7 MB, free: 39.49 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.2486, allocations: 0 / 459.7 MB, free: 39.49 MB / 410.7 MB Notification: Performance of Templates: time 0.01515/0.2638, allocations: 16.01 MB / 475.7 MB, free: 37.26 MB / 410.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins/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: 7.04118762165308]