Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.002441/0.002441, allocations: 99.53 kB / 20.96 MB, free: 3.457 MB / 18.57 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.0028/0.0028, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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 1.666/1.666, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3468/0.3468, allocations: 34.25 MB / 295.2 MB, free: 0.6523 MB / 266.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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.89e-05, allocations: 4.562 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001682/0.001711, allocations: 0.536 MB / 377.7 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008276/0.002538, allocations: 386.8 kB / 378.1 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.87e-05/0.002567, allocations: 0 / 378.1 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.25e-05/0.00258, allocations: 0 / 378.1 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.13e-05/0.002621, allocations: 3.938 kB / 378.1 MB, free: 2 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000491/0.003112, allocations: 135.4 kB / 378.2 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.227e-05/0.003174, allocations: 31.89 kB / 378.3 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.566e-05/0.00321, allocations: 0 / 378.3 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.416e-05/0.003254, allocations: 19.98 kB / 378.3 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.56e-05/0.00331, allocations: 15.91 kB / 378.3 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.003327, allocations: 4 kB / 378.3 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002575/0.003585, allocations: 131.8 kB / 378.4 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.003603, allocations: 7.984 kB / 378.5 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.246e-05/0.003625, allocations: 7.938 kB / 378.5 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.003893, allocations: 147.6 kB / 378.6 MB, free: 1.508 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003895, allocations: 0 / 378.6 MB, free: 1.508 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.003896, allocations: 0 / 378.6 MB, free: 1.508 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.003899, allocations: 0 / 378.6 MB, free: 1.508 MB / 346.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.0005086/0.004408, allocations: 403.9 kB / 379 MB, free: 1.078 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.00444, allocations: 12.03 kB / 379 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.00449, allocations: 12.89 kB / 379 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.004615, allocations: 108.6 kB / 379.1 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.004629, allocations: 8.312 kB / 379.1 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.004661, allocations: 4.375 kB / 379.1 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.004785, allocations: 54.23 kB / 379.2 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.004801, allocations: 8.125 kB / 379.2 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.004809, allocations: 384 / 379.2 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.004815, allocations: 8.125 kB / 379.2 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.345e-05/0.004888, allocations: 23.98 kB / 379.2 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000253/0.005141, allocations: 136.5 kB / 379.4 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.005374, allocations: 67.03 kB / 379.4 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.005429, allocations: 23.69 kB / 379.5 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002531/0.005682, allocations: 31.95 kB / 379.5 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.005716, allocations: 33.39 kB / 379.5 MB, free: 476 kB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.005717, allocations: 0 / 379.5 MB, free: 476 kB / 346.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.1543/0.16, allocations: 6.415 MB / 385.9 MB, free: 10.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.1601, allocations: 55.41 kB / 386 MB, free: 9.941 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.1602, allocations: 161.9 kB / 386.1 MB, free: 9.766 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/0.1603, allocations: 29.7 kB / 386.2 MB, free: 9.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.468e-05/0.1604, allocations: 130.9 kB / 386.3 MB, free: 9.598 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.1605, allocations: 67.42 kB / 386.4 MB, free: 9.531 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.1607, allocations: 99.25 kB / 386.5 MB, free: 9.426 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005391/0.1613, allocations: 0.4922 MB / 387 MB, free: 8.922 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006754/0.1619, allocations: 295.8 kB / 387.3 MB, free: 8.633 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006683/0.1626, allocations: 302.8 kB / 387.5 MB, free: 8.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002284/0.1649, allocations: 0.6517 MB / 388.2 MB, free: 7.684 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1649, allocations: 0 / 388.2 MB, free: 7.684 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002139/0.167, allocations: 0.7309 MB / 388.9 MB, free: 6.949 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1671, allocations: 8 kB / 388.9 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1671, allocations: 0 / 388.9 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1671, allocations: 0 / 388.9 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007027/0.1678, allocations: 107.8 kB / 389 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.1678, allocations: 7.984 kB / 389 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004221/0.1682, allocations: 23.97 kB / 389.1 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.288e-05/0.1683, allocations: 27.95 kB / 389.1 MB, free: 6.777 MB / 362.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 0.000212/0.1685, allocations: 164.6 kB / 389.3 MB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.1686, allocations: 23.83 kB / 389.3 MB, free: 6.582 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002404/0.171, allocations: 0.8296 MB / 390.1 MB, free: 5.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.171, allocations: 4 kB / 390.1 MB, free: 5.746 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.171, allocations: 0 / 390.1 MB, free: 5.746 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.171, allocations: 3.984 kB / 390.1 MB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004316/0.1754, allocations: 1.162 MB / 391.3 MB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1754, allocations: 0 / 391.3 MB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005625/0.1759, allocations: 95.81 kB / 391.4 MB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.1759, allocations: 7.922 kB / 391.4 MB, free: 4.406 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.885e-05/0.176, allocations: 27.95 kB / 391.4 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.176, allocations: 4.188 kB / 391.4 MB, free: 4.375 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.176, allocations: 4 kB / 391.4 MB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/0.178, allocations: 0.7009 MB / 392.1 MB, free: 3.625 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.178, allocations: 7.953 kB / 392.1 MB, free: 3.617 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.012e-05/0.178, allocations: 8 kB / 392.1 MB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/0.1784, allocations: 27.91 kB / 392.2 MB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.1785, allocations: 15.92 kB / 392.2 MB, free: 3.566 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.224e-05/0.1785, allocations: 31.95 kB / 392.2 MB, free: 3.535 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.355e-05/0.1786, allocations: 131.2 kB / 392.3 MB, free: 3.406 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1786, allocations: 0 / 392.3 MB, free: 3.406 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001918/0.1805, allocations: 0.648 MB / 393 MB, free: 2.758 MB / 362.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.003107/0.1836, allocations: 318.5 kB / 393.3 MB, free: 2.438 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.1853, allocations: 0.5569 MB / 393.9 MB, free: 1.879 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1853, allocations: 0 / 393.9 MB, free: 1.879 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006208/0.1859, allocations: 243.4 kB / 394.1 MB, free: 1.637 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.1862, allocations: 50.59 kB / 394.1 MB, free: 1.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.1887, allocations: 0.5747 MB / 394.7 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.52e-05/0.1888, allocations: 83.42 kB / 394.8 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004811/0.1893, allocations: 125 kB / 394.9 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/0.1896, allocations: 88.34 kB / 395 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1896, allocations: 0 / 395 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of Templates: time 0.3259/0.5156, allocations: 59.6 MB / 454.6 MB, free: 84.26 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 6.189175024046563]