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.001707/0.001707, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001872/0.001872, allocations: 160.9 kB / 24.27 MB, free: 168 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.64/1.64, allocations: 177 MB / 204.4 MB, free: 5.633 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.3336/0.3336, allocations: 34.25 MB / 295.2 MB, free: 0.6562 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.643e-06/1.643e-06, allocations: 0 / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/2.979e-05, allocations: 8.781 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001562/0.001592, allocations: 0.5322 MB / 377.7 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007965/0.002389, allocations: 374.8 kB / 378.1 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.702e-05/0.002416, allocations: 0 / 378.1 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.236e-05/0.002428, allocations: 0 / 378.1 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.06e-05/0.002468, allocations: 3.938 kB / 378.1 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004754/0.002944, allocations: 143.4 kB / 378.2 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.009e-05/0.003004, allocations: 23.92 kB / 378.3 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.723e-05/0.003041, allocations: 4 kB / 378.3 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.134e-05/0.003083, allocations: 19.98 kB / 378.3 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.862e-05/0.003141, allocations: 15.91 kB / 378.3 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.003155, allocations: 0 / 378.3 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002712/0.003426, allocations: 135.8 kB / 378.4 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.003441, allocations: 8 kB / 378.4 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.003468, allocations: 11.92 kB / 378.4 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.003717, allocations: 147.6 kB / 378.6 MB, free: 1.516 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.003719, allocations: 0 / 378.6 MB, free: 1.516 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.00372, allocations: 3.938 kB / 378.6 MB, free: 1.512 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.165e-06/0.003723, allocations: 0 / 378.6 MB, free: 1.512 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.0004653/0.004188, allocations: 294 kB / 378.9 MB, free: 1.195 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.004225, allocations: 12.02 kB / 378.9 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.004274, allocations: 12.88 kB / 378.9 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.004399, allocations: 105.8 kB / 379 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.004418, allocations: 8.375 kB / 379 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.004441, allocations: 384 / 379 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.004571, allocations: 62.17 kB / 379.1 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.004584, allocations: 4.141 kB / 379.1 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.004592, allocations: 384 / 379.1 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.004599, allocations: 4.125 kB / 379.1 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.88e-05/0.004668, allocations: 27.98 kB / 379.1 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.004841, allocations: 113.3 kB / 379.2 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.005061, allocations: 62.58 kB / 379.3 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.675e-05/0.005118, allocations: 24.84 kB / 379.3 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002551/0.005373, allocations: 31.97 kB / 379.3 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.005406, allocations: 30.56 kB / 379.4 MB, free: 0.625 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 9.62e-07/0.005407, allocations: 0 / 379.4 MB, free: 0.625 MB / 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.137/0.1424, allocations: 6.389 MB / 385.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.1425, allocations: 55.41 kB / 385.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.1426, allocations: 101.9 kB / 385.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.877e-05/0.1427, allocations: 33.69 kB / 386 MB, free: 9.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.365e-05/0.1427, allocations: 84.12 kB / 386 MB, free: 9.895 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.1428, allocations: 63.44 kB / 386.1 MB, free: 9.832 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/0.143, allocations: 85.59 kB / 386.2 MB, free: 9.742 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.1432, allocations: 318.8 kB / 386.5 MB, free: 9.422 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006098/0.1438, allocations: 231.8 kB / 386.7 MB, free: 9.195 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000618/0.1444, allocations: 234.9 kB / 386.9 MB, free: 8.969 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002321/0.1467, allocations: 0.559 MB / 387.5 MB, free: 8.406 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1467, allocations: 4.25 kB / 387.5 MB, free: 8.402 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002103/0.1488, allocations: 0.6105 MB / 388.1 MB, free: 7.785 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1489, allocations: 4 kB / 388.1 MB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1489, allocations: 4 kB / 388.1 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.1489, allocations: 0 / 388.1 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007372/0.1496, allocations: 111.8 kB / 388.2 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.1496, allocations: 7.984 kB / 388.2 MB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/0.1501, allocations: 23.95 kB / 388.3 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.179e-05/0.1502, allocations: 35.94 kB / 388.3 MB, free: 7.602 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.0001737/0.1504, allocations: 113.8 kB / 388.4 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.1505, allocations: 19.89 kB / 388.4 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.1529, allocations: 0.7308 MB / 389.2 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1529, allocations: 0 / 389.2 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1529, allocations: 0 / 389.2 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.1529, allocations: 4 kB / 389.2 MB, free: 6.727 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004518/0.1574, allocations: 1.051 MB / 390.2 MB, free: 5.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.1574, allocations: 7.938 kB / 390.2 MB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000602/0.158, allocations: 103.8 kB / 390.3 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/0.158, allocations: 4 kB / 390.3 MB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.374e-05/0.1581, allocations: 23.95 kB / 390.4 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/0.1581, allocations: 7.938 kB / 390.4 MB, free: 5.473 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.1581, allocations: 4 kB / 390.4 MB, free: 5.469 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/0.1603, allocations: 0.5784 MB / 390.9 MB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.225e-05/0.1603, allocations: 11.94 kB / 391 MB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.883e-05/0.1604, allocations: 8 kB / 391 MB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004427/0.1608, allocations: 23.91 kB / 391 MB, free: 4.812 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.1608, allocations: 23.97 kB / 391 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-05/0.1609, allocations: 27.95 kB / 391 MB, free: 4.762 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.13e-05/0.161, allocations: 87.28 kB / 391.1 MB, free: 4.676 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.161, allocations: 0 / 391.1 MB, free: 4.676 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001883/0.1629, allocations: 0.6441 MB / 391.8 MB, free: 4.031 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.003178/0.166, allocations: 330.5 kB / 392.1 MB, free: 3.699 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.1673, allocations: 435.6 kB / 392.5 MB, free: 3.273 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1673, allocations: 0 / 392.5 MB, free: 3.273 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005664/0.1679, allocations: 195.7 kB / 392.7 MB, free: 3.082 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.1683, allocations: 62.05 kB / 392.8 MB, free: 3.027 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.1709, allocations: 0.5287 MB / 393.3 MB, free: 2.453 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.344e-05/0.171, allocations: 83.42 kB / 393.4 MB, free: 2.348 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004702/0.1714, allocations: 125 kB / 393.5 MB, free: 2.223 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003454/0.1718, allocations: 92.34 kB / 393.6 MB, free: 2.133 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1718, allocations: 0 / 393.6 MB, free: 2.133 MB / 362.7 MB Notification: Performance of Templates: time 0.2023/0.374, allocations: 58.43 MB / 452 MB, free: 104.6 MB / 410.7 MB " [Timeout remaining time 660] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 480] 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: 5.916807307046838]