Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009249/0.0009249, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.0009405/0.0009405, allocations: 168.4 kB / 25.61 MB, free: 8.883 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.9293/0.9293, allocations: 177.1 MB / 206.1 MB, free: 4.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1381/0.1381, allocations: 34.26 MB / 296.9 MB, free: 13.95 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 379.3 MB, free: 23.46 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.275e-05, allocations: 6.312 kB / 379.3 MB, free: 23.45 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001419/0.001441, allocations: 0.5393 MB / 379.8 MB, free: 22.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006023/0.002044, allocations: 374.7 kB / 380.2 MB, free: 22.54 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.002077, allocations: 3.938 kB / 380.2 MB, free: 22.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.002094, allocations: 7.938 kB / 380.2 MB, free: 22.53 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 3.986e-05/0.002134, allocations: 0 / 380.2 MB, free: 22.53 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.002563, allocations: 143.4 kB / 380.3 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.366e-05/0.002616, allocations: 19.98 kB / 380.4 MB, free: 22.37 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.385e-05/0.00266, allocations: 7.984 kB / 380.4 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.17e-05/0.002692, allocations: 15.94 kB / 380.4 MB, free: 22.35 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.198e-05/0.002744, allocations: 11.97 kB / 380.4 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.002756, allocations: 0 / 380.4 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.002962, allocations: 135.8 kB / 380.5 MB, free: 22.2 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.002979, allocations: 19.91 kB / 380.5 MB, free: 22.18 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.418e-05/0.002994, allocations: 4 kB / 380.5 MB, free: 22.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.003203, allocations: 151.5 kB / 380.7 MB, free: 22.03 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003205, allocations: 0 / 380.7 MB, free: 22.03 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.003205, allocations: 0 / 380.7 MB, free: 22.03 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.003209, allocations: 0 / 380.7 MB, free: 22.03 MB / 314.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.0002803/0.00349, allocations: 392.3 kB / 381.1 MB, free: 21.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.003524, allocations: 8.031 kB / 381.1 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.003555, allocations: 16.83 kB / 381.1 MB, free: 21.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.485e-05/0.00362, allocations: 116.6 kB / 381.2 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.003632, allocations: 4.375 kB / 381.2 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.003649, allocations: 384 / 381.2 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.715e-05/0.003726, allocations: 50.23 kB / 381.3 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.003738, allocations: 4.141 kB / 381.3 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.003747, allocations: 4.375 kB / 381.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.003754, allocations: 8.125 kB / 381.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.569e-05/0.003789, allocations: 15.92 kB / 381.3 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001198/0.003909, allocations: 105.2 kB / 381.4 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.004076, allocations: 63.02 kB / 381.5 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.004105, allocations: 35.83 kB / 381.5 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001698/0.004274, allocations: 27.97 kB / 381.5 MB, free: 21.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.004292, allocations: 33.39 kB / 381.6 MB, free: 21.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.004294, allocations: 4 kB / 381.6 MB, free: 21.04 MB / 314.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.09386/0.09816, allocations: 6.001 MB / 387.6 MB, free: 15 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.09819, allocations: 55.41 kB / 387.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.588e-05/0.09825, allocations: 157.9 kB / 387.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.09829, allocations: 29.7 kB / 387.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.227e-05/0.09831, allocations: 134.9 kB / 387.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.983e-05/0.09839, allocations: 63.42 kB / 388 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.09855, allocations: 99.22 kB / 388.1 MB, free: 14.42 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.599e-05/0.0986, allocations: 0.4884 MB / 388.6 MB, free: 13.92 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.09883, allocations: 175.9 kB / 388.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.09907, allocations: 189.5 kB / 388.9 MB, free: 13.56 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.1003, allocations: 450.4 kB / 389.4 MB, free: 13.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1003, allocations: 0 / 389.4 MB, free: 13.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007373/0.101, allocations: 0.5167 MB / 389.9 MB, free: 12.6 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.101, allocations: 8 kB / 389.9 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.101, allocations: 0 / 389.9 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.101, allocations: 7.938 kB / 389.9 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003142/0.1014, allocations: 99.84 kB / 390 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.1014, allocations: 0 / 390 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.1015, allocations: 27.97 kB / 390 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.1016, allocations: 27.94 kB / 390.1 MB, free: 12.43 MB / 314.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 9.791e-05/0.1017, allocations: 168.5 kB / 390.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-05/0.1017, allocations: 19.89 kB / 390.2 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007958/0.1025, allocations: 0.6148 MB / 390.9 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1025, allocations: 7.984 kB / 390.9 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.1025, allocations: 256 / 390.9 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.1025, allocations: 0 / 390.9 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.1041, allocations: 1.007 MB / 391.9 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1041, allocations: 4 kB / 391.9 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.1043, allocations: 87.88 kB / 392 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.1043, allocations: 7.984 kB / 392 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.1044, allocations: 27.95 kB / 392 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1044, allocations: 7.938 kB / 392 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1044, allocations: 0 / 392 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006093/0.105, allocations: 0.5551 MB / 392.6 MB, free: 9.812 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.226e-05/0.105, allocations: 7.953 kB / 392.6 MB, free: 9.805 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.105, allocations: 4 kB / 392.6 MB, free: 9.801 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.1052, allocations: 31.91 kB / 392.6 MB, free: 9.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.626e-05/0.1052, allocations: 15.91 kB / 392.6 MB, free: 9.754 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.1052, allocations: 31.95 kB / 392.6 MB, free: 9.723 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.768e-05/0.1052, allocations: 123.2 kB / 392.8 MB, free: 9.602 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1052, allocations: 4 kB / 392.8 MB, free: 9.598 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001251/0.1065, allocations: 0.6441 MB / 393.4 MB, free: 8.953 MB / 314.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.002165/0.1087, allocations: 326.5 kB / 393.7 MB, free: 8.621 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003643/0.109, allocations: 375.3 kB / 394.1 MB, free: 8.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.109, allocations: 4 kB / 394.1 MB, free: 8.246 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.1092, allocations: 171.4 kB / 394.3 MB, free: 8.074 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.1094, allocations: 47.94 kB / 394.3 MB, free: 8.027 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.1104, allocations: 0.4965 MB / 394.8 MB, free: 7.477 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.833e-05/0.1105, allocations: 63.58 kB / 394.9 MB, free: 7.391 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002358/0.1107, allocations: 121 kB / 395 MB, free: 7.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.111, allocations: 162 kB / 395.2 MB, free: 7.109 MB / 314.7 MB Notification: Performance of SimCode: time 8.21e-07/0.111, allocations: 0 / 395.2 MB, free: 7.109 MB / 314.7 MB Notification: Performance of Templates: time 0.05726/0.1682, allocations: 64.3 MB / 459.5 MB, free: 6.797 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.301590444985777]