Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009143/0.0009143, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009581/0.0009581, allocations: 164.4 kB / 24.82 MB, free: 9.266 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.9182/0.9182, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.231/0.231, allocations: 32.8 MB / 294.6 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 376.4 MB, free: 4.426 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.344e-05/1.467e-05, allocations: 9.484 kB / 376.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0009476/0.0009623, allocations: 0.5399 MB / 377 MB, free: 3.875 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005114/0.001474, allocations: 378.8 kB / 377.4 MB, free: 3.5 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.001497, allocations: 4 kB / 377.4 MB, free: 3.496 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.471e-05/0.001512, allocations: 3.938 kB / 377.4 MB, free: 3.492 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.926e-05/0.001541, allocations: 0 / 377.4 MB, free: 3.492 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.001882, allocations: 143.4 kB / 377.5 MB, free: 3.352 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.196e-05/0.001924, allocations: 19.98 kB / 377.5 MB, free: 3.332 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.001958, allocations: 4 kB / 377.5 MB, free: 3.328 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.404e-05/0.001992, allocations: 23.91 kB / 377.6 MB, free: 3.305 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.439e-05/0.002037, allocations: 7.984 kB / 377.6 MB, free: 3.297 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.002046, allocations: 4 kB / 377.6 MB, free: 3.293 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.002211, allocations: 143.7 kB / 377.7 MB, free: 3.152 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.002222, allocations: 8 kB / 377.7 MB, free: 3.145 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.258e-05/0.002235, allocations: 7.984 kB / 377.7 MB, free: 3.137 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.002388, allocations: 147.5 kB / 377.9 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.00239, allocations: 0 / 377.9 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.6e-07/0.00239, allocations: 0 / 377.9 MB, free: 2.992 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.002394, allocations: 0 / 377.9 MB, free: 2.992 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.0003107/0.002704, allocations: 400.2 kB / 378.3 MB, free: 2.566 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.002736, allocations: 8.031 kB / 378.3 MB, free: 2.559 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.002761, allocations: 16.89 kB / 378.3 MB, free: 2.543 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.277e-05/0.002823, allocations: 112.6 kB / 378.4 MB, free: 2.406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.002833, allocations: 4.375 kB / 378.4 MB, free: 2.402 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.002851, allocations: 8.328 kB / 378.4 MB, free: 2.395 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.443e-05/0.002925, allocations: 46.19 kB / 378.5 MB, free: 2.344 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.002932, allocations: 192 / 378.5 MB, free: 2.344 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.00294, allocations: 4.359 kB / 378.5 MB, free: 2.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.002946, allocations: 8.125 kB / 378.5 MB, free: 2.332 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.079e-05/0.002977, allocations: 19.91 kB / 378.5 MB, free: 2.312 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001034/0.00308, allocations: 109.2 kB / 378.6 MB, free: 2.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.003214, allocations: 67.05 kB / 378.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.198e-05/0.003236, allocations: 23.69 kB / 378.7 MB, free: 2.074 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/0.003371, allocations: 35.95 kB / 378.7 MB, free: 2.039 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.003389, allocations: 37.39 kB / 378.8 MB, free: 1.992 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.00339, allocations: 0 / 378.8 MB, free: 1.992 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.05516/0.05855, allocations: 5.998 MB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.05859, allocations: 55.41 kB / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.86e-05/0.05865, allocations: 161.9 kB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.05868, allocations: 29.7 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/0.05873, allocations: 130.9 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.466e-05/0.05879, allocations: 67.42 kB / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.0589, allocations: 99.19 kB / 385.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.05902, allocations: 0.4884 MB / 385.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.05919, allocations: 179.9 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.05935, allocations: 175.9 kB / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00077/0.06012, allocations: 453.9 kB / 386.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.06012, allocations: 8.125 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000731/0.06085, allocations: 0.5168 MB / 387.1 MB, free: 9.547 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.06087, allocations: 7.984 kB / 387.1 MB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.06087, allocations: 8 kB / 387.1 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.06089, allocations: 0 / 387.1 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.06117, allocations: 99.84 kB / 387.2 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.06118, allocations: 7.938 kB / 387.2 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.06134, allocations: 15.98 kB / 387.2 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.06138, allocations: 35.94 kB / 387.3 MB, free: 9.375 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.0001037/0.06148, allocations: 156.6 kB / 387.4 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.059e-05/0.06154, allocations: 23.89 kB / 387.4 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008663/0.06241, allocations: 0.6161 MB / 388.1 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.06241, allocations: 4 kB / 388.1 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.06241, allocations: 0 / 388.1 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.06241, allocations: 3.984 kB / 388.1 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.06416, allocations: 0.9944 MB / 389.1 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.06417, allocations: 4 kB / 389.1 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.06439, allocations: 87.88 kB / 389.1 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.06439, allocations: 7.938 kB / 389.2 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.06441, allocations: 23.95 kB / 389.2 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.06442, allocations: 7.984 kB / 389.2 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.06442, allocations: 4 kB / 389.2 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007361/0.06516, allocations: 0.5603 MB / 389.7 MB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.154e-05/0.06517, allocations: 7.953 kB / 389.8 MB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.0652, allocations: 4 kB / 389.8 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.06536, allocations: 27.97 kB / 389.8 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.898e-05/0.06538, allocations: 11.92 kB / 389.8 MB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.06541, allocations: 31.95 kB / 389.8 MB, free: 6.688 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.607e-05/0.06544, allocations: 135.2 kB / 390 MB, free: 6.555 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.06544, allocations: 0 / 390 MB, free: 6.555 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001185/0.06663, allocations: 0.6441 MB / 390.6 MB, free: 5.91 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.002017/0.06864, allocations: 334.4 kB / 390.9 MB, free: 5.574 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005197/0.06916, allocations: 369.3 kB / 391.3 MB, free: 5.211 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.06916, allocations: 0 / 391.3 MB, free: 5.211 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.06932, allocations: 171.4 kB / 391.5 MB, free: 5.039 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.06954, allocations: 51.94 kB / 391.5 MB, free: 4.988 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009508/0.07049, allocations: 0.4954 MB / 392 MB, free: 4.441 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.783e-05/0.07053, allocations: 63.59 kB / 392.1 MB, free: 4.355 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002487/0.07077, allocations: 125 kB / 392.2 MB, free: 4.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/0.07106, allocations: 154 kB / 392.3 MB, free: 4.078 MB / 362.7 MB Notification: Performance of SimCode: time 7.32e-07/0.07106, allocations: 0 / 392.3 MB, free: 4.078 MB / 362.7 MB Notification: Performance of Templates: time 0.2889/0.36, allocations: 64.11 MB / 456.5 MB, free: 82.74 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.6568302707746625]