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.0009323/0.0009323, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.0009399/0.0009399, allocations: 171.8 kB / 24.82 MB, free: 9.254 MB / 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 0.9127/0.9127, allocations: 177 MB / 205.1 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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.2576/0.2576, allocations: 34.87 MB / 296.6 MB, free: 0.5078 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.723e-06/1.723e-06, allocations: 0 / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.663e-05, allocations: 3.297 kB / 379.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001138/0.001165, allocations: 0.5488 MB / 379.8 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005086/0.001674, allocations: 374.8 kB / 380.1 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.663e-05/0.0017, allocations: 0 / 380.1 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.001715, allocations: 3.938 kB / 380.1 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.335e-05/0.001749, allocations: 3.938 kB / 380.1 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.002152, allocations: 135.5 kB / 380.3 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.024e-05/0.002202, allocations: 27.91 kB / 380.3 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.323e-05/0.002235, allocations: 8 kB / 380.3 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.361e-05/0.002269, allocations: 15.92 kB / 380.3 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.055e-05/0.002319, allocations: 15.97 kB / 380.3 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.00233, allocations: 0 / 380.3 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.002511, allocations: 135.8 kB / 380.5 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.002525, allocations: 11.92 kB / 380.5 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.388e-05/0.002539, allocations: 7.984 kB / 380.5 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.002694, allocations: 143.6 kB / 380.6 MB, free: 408 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.002697, allocations: 3.984 kB / 380.6 MB, free: 404 kB / 346.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.002698, allocations: 0 / 380.6 MB, free: 404 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.357e-06/0.002701, allocations: 0 / 380.6 MB, free: 404 kB / 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.0002973/0.002998, allocations: 396.3 kB / 381 MB, free: 15.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.003035, allocations: 12.02 kB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.003061, allocations: 12.89 kB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.086e-05/0.003122, allocations: 112.6 kB / 381.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-06/0.00313, allocations: 384 / 381.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.003146, allocations: 12.33 kB / 381.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.486e-05/0.003211, allocations: 42.25 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.00322, allocations: 4.172 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.003226, allocations: 4.375 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.003231, allocations: 4.125 kB / 381.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.894e-05/0.00326, allocations: 23.92 kB / 381.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001021/0.003362, allocations: 109.2 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.003503, allocations: 63.03 kB / 381.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.115e-05/0.003524, allocations: 15.97 kB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.003667, allocations: 43.81 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.003688, allocations: 37.39 kB / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.003689, allocations: 4 kB / 381.5 MB, free: 15.4 MB / 362.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.05412/0.05781, allocations: 6.009 MB / 387.5 MB, free: 9.344 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.05783, allocations: 55.41 kB / 387.6 MB, free: 9.277 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.483e-05/0.05791, allocations: 161.9 kB / 387.7 MB, free: 9.102 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.05794, allocations: 29.7 kB / 387.8 MB, free: 9.066 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.246e-05/0.05797, allocations: 126.9 kB / 387.9 MB, free: 8.938 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.316e-05/0.05804, allocations: 71.41 kB / 387.9 MB, free: 8.867 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.05815, allocations: 91.2 kB / 388 MB, free: 8.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.05825, allocations: 0.4962 MB / 388.5 MB, free: 8.262 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.05842, allocations: 175.9 kB / 388.7 MB, free: 8.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.05858, allocations: 187.2 kB / 388.9 MB, free: 7.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007488/0.05932, allocations: 447.5 kB / 389.3 MB, free: 7.469 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.05933, allocations: 0 / 389.3 MB, free: 7.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007034/0.06003, allocations: 0.5238 MB / 389.8 MB, free: 6.941 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.06005, allocations: 8 kB / 389.9 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.06005, allocations: 0 / 389.9 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.06006, allocations: 0 / 389.9 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.06034, allocations: 99.84 kB / 390 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.06034, allocations: 0 / 390 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.0605, allocations: 27.97 kB / 390 MB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.06054, allocations: 23.95 kB / 390 MB, free: 6.785 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.0001261/0.06066, allocations: 172.5 kB / 390.2 MB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.818e-05/0.06072, allocations: 23.83 kB / 390.2 MB, free: 6.582 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008264/0.06155, allocations: 0.6112 MB / 390.8 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.06155, allocations: 4 kB / 390.8 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.06155, allocations: 4 kB / 390.8 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.06156, allocations: 7.984 kB / 390.8 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.06323, allocations: 0.9937 MB / 391.8 MB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.06323, allocations: 4 kB / 391.8 MB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.06345, allocations: 87.88 kB / 391.9 MB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.06346, allocations: 4 kB / 391.9 MB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.06348, allocations: 27.95 kB / 391.9 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.06349, allocations: 4.188 kB / 391.9 MB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.06349, allocations: 11.92 kB / 392 MB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006913/0.06418, allocations: 0.5446 MB / 392.5 MB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.398e-05/0.0642, allocations: 11.94 kB / 392.5 MB, free: 4.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.06423, allocations: 4 kB / 392.5 MB, free: 4.156 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.06439, allocations: 31.97 kB / 392.5 MB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.06441, allocations: 15.86 kB / 392.6 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.06444, allocations: 31.95 kB / 392.6 MB, free: 4.078 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.373e-05/0.06447, allocations: 127.2 kB / 392.7 MB, free: 3.953 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06447, allocations: 0 / 392.7 MB, free: 3.953 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001347/0.06582, allocations: 0.6441 MB / 393.4 MB, free: 3.309 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.002008/0.06783, allocations: 326.5 kB / 393.7 MB, free: 2.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003951/0.06822, allocations: 382.6 kB / 394.1 MB, free: 2.605 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.06822, allocations: 0 / 394.1 MB, free: 2.605 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.06838, allocations: 163.4 kB / 394.2 MB, free: 2.441 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.06859, allocations: 54.12 kB / 394.3 MB, free: 2.391 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009474/0.06953, allocations: 0.4888 MB / 394.8 MB, free: 1.848 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.43e-05/0.06958, allocations: 63.53 kB / 394.8 MB, free: 1.762 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002527/0.06983, allocations: 129 kB / 394.9 MB, free: 1.633 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002934/0.07013, allocations: 158 kB / 395.1 MB, free: 1.477 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.07013, allocations: 0 / 395.1 MB, free: 1.477 MB / 362.7 MB Notification: Performance of Templates: time 0.2771/0.3472, allocations: 64.1 MB / 459.2 MB, free: 80.16 MB / 410.8 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=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","",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.770342241972685]