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.001642/0.001643, allocations: 111.8 kB / 19.13 MB, free: 3.922 MB / 14.72 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.001744/0.001744, allocations: 212.9 kB / 22.08 MB, free: 0.9727 MB / 14.72 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.46/1.46, allocations: 227.4 MB / 252.3 MB, free: 108 kB / 190.1 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.2301/0.2301, allocations: 46.17 MB / 351.8 MB, free: 14.29 MB / 286.1 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 0.002221/0.002221, allocations: 77.36 kB / 490.9 MB, free: 28.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1186, allocations: 62.45 MB / 0.5403 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001686/0.1204, allocations: 0.532 MB / 0.5409 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008113/0.1212, allocations: 411.1 kB / 0.5413 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.015e-05/0.1212, allocations: 0 / 0.5413 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/0.1213, allocations: 3.938 kB / 0.5413 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.101e-05/0.1213, allocations: 0 / 0.5413 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005139/0.1218, allocations: 143.5 kB / 0.5414 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.814e-05/0.1219, allocations: 23.92 kB / 0.5414 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.984e-05/0.122, allocations: 3.984 kB / 0.5414 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.737e-05/0.122, allocations: 15.98 kB / 0.5414 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.469e-05/0.1221, allocations: 19.86 kB / 0.5415 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.1221, allocations: 0 / 0.5415 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002885/0.1224, allocations: 163.8 kB / 0.5416 GB, free: 2.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.1224, allocations: 11.98 kB / 0.5416 GB, free: 2.945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.1224, allocations: 15.88 kB / 0.5416 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.1227, allocations: 123.6 kB / 0.5418 GB, free: 2.809 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1227, allocations: 4 kB / 0.5418 GB, free: 2.805 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1227, allocations: 0 / 0.5418 GB, free: 2.805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.1227, allocations: 0 / 0.5418 GB, free: 2.805 MB / 398.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.0005035/0.1232, allocations: 371.1 kB / 0.5421 GB, free: 2.395 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1232, allocations: 8.031 kB / 0.5421 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.1233, allocations: 4.938 kB / 0.5421 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.1234, allocations: 172.2 kB / 0.5423 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1234, allocations: 384 / 0.5423 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.1235, allocations: 8.375 kB / 0.5423 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.1236, allocations: 54.23 kB / 0.5423 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.1237, allocations: 11.94 kB / 0.5424 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.1237, allocations: 0 / 0.5424 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.1237, allocations: 0 / 0.5424 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.349e-05/0.1238, allocations: 27.92 kB / 0.5424 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.124, allocations: 169.7 kB / 0.5425 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.1242, allocations: 54.5 kB / 0.5426 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.354e-05/0.1243, allocations: 32.84 kB / 0.5426 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002817/0.1245, allocations: 105.1 kB / 0.5427 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.1246, allocations: 34.84 kB / 0.5428 GB, free: 1.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 2.856e-06/0.1246, allocations: 0 / 0.5428 GB, free: 1.594 MB / 398.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.1395/0.2641, allocations: 6.391 MB / 0.549 GB, free: 11.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.2642, allocations: 63.34 kB / 0.5491 GB, free: 11.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.412e-05/0.2643, allocations: 101.8 kB / 0.5492 GB, free: 10.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/0.2643, allocations: 29.7 kB / 0.5492 GB, free: 10.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.2644, allocations: 84.14 kB / 0.5493 GB, free: 10.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.651e-05/0.2645, allocations: 63.44 kB / 0.5493 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.2647, allocations: 93.58 kB / 0.5494 GB, free: 10.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.2648, allocations: 322.8 kB / 0.5497 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005582/0.2654, allocations: 231.8 kB / 0.55 GB, free: 10.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005541/0.266, allocations: 231.8 kB / 0.5502 GB, free: 9.926 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/0.2681, allocations: 0.5541 MB / 0.5507 GB, free: 9.371 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2681, allocations: 0 / 0.5507 GB, free: 9.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001844/0.2699, allocations: 0.6104 MB / 0.5513 GB, free: 8.754 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.27, allocations: 7.938 kB / 0.5513 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.27, allocations: 8 kB / 0.5513 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.27, allocations: 0 / 0.5513 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006442/0.2707, allocations: 107.8 kB / 0.5514 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.2707, allocations: 0 / 0.5514 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004253/0.2711, allocations: 23.95 kB / 0.5515 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-05/0.2712, allocations: 27.95 kB / 0.5515 GB, free: 8.582 MB / 414.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.0001735/0.2714, allocations: 133.7 kB / 0.5516 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.253e-05/0.2714, allocations: 7.953 kB / 0.5516 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.2736, allocations: 0.7201 MB / 0.5523 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.2736, allocations: 7.984 kB / 0.5523 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2736, allocations: 0 / 0.5523 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2736, allocations: 4 kB / 0.5523 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003979/0.2776, allocations: 1.156 MB / 0.5535 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.2777, allocations: 4.188 kB / 0.5535 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005281/0.2782, allocations: 100.1 kB / 0.5536 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.2782, allocations: 4 kB / 0.5536 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.348e-05/0.2783, allocations: 32.42 kB / 0.5536 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.2783, allocations: 4 kB / 0.5536 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.2783, allocations: 3.938 kB / 0.5536 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.28, allocations: 0.582 MB / 0.5542 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.598e-05/0.2801, allocations: 89.05 kB / 0.5543 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.607e-05/0.2802, allocations: 11.94 kB / 0.5543 GB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.2806, allocations: 19.97 kB / 0.5543 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.2806, allocations: 27.91 kB / 0.5543 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.205e-05/0.2807, allocations: 27.95 kB / 0.5543 GB, free: 5.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.974e-05/0.2807, allocations: 83.28 kB / 0.5544 GB, free: 5.438 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2807, allocations: 4 kB / 0.5544 GB, free: 5.434 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001668/0.2824, allocations: 0.6557 MB / 0.5551 GB, free: 4.777 MB / 414.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.003011/0.2854, allocations: 298.5 kB / 0.5553 GB, free: 4.473 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.2867, allocations: 451.5 kB / 0.5558 GB, free: 4.031 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/0.2867, allocations: 4 kB / 0.5558 GB, free: 4.027 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005431/0.2873, allocations: 203.7 kB / 0.556 GB, free: 3.828 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.2876, allocations: 10.97 kB / 0.556 GB, free: 3.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.2899, allocations: 0.5507 MB / 0.5565 GB, free: 3.219 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.2902, allocations: 0.6926 MB / 0.5572 GB, free: 2.496 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003179/0.2906, allocations: 91.28 kB / 0.5573 GB, free: 2.406 MB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2906, allocations: 0 / 0.5573 GB, free: 2.406 MB / 414.1 MB Notification: Performance of Templates: time 0.0251/0.3157, allocations: 15.96 MB / 0.5729 GB, free: 2.449 MB / 430.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.8072731270222]