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.0009292/0.0009292, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009504/0.0009504, allocations: 167.3 kB / 24.91 MB, free: 9.105 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.9029/0.9029, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2357/0.2357, allocations: 34.26 MB / 296.1 MB, free: 0.7266 MB / 266.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.333e-06/1.333e-06, allocations: 0 / 325.2 MB, free: 7.738 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.358e-05, allocations: 3.156 kB / 325.2 MB, free: 7.734 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0009921/0.001016, allocations: 0.5496 MB / 325.8 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005485/0.001564, allocations: 378.7 kB / 326.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.3e-05/0.001587, allocations: 7.938 kB / 326.1 MB, free: 6.805 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.51e-05/0.001602, allocations: 3.938 kB / 326.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.849e-05/0.001631, allocations: 0 / 326.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.001988, allocations: 144 kB / 326.3 MB, free: 6.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.841e-05/0.002037, allocations: 19.98 kB / 326.3 MB, free: 6.641 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.002076, allocations: 8 kB / 326.3 MB, free: 6.633 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.343e-05/0.00211, allocations: 23.91 kB / 326.3 MB, free: 6.609 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.343e-05/0.002163, allocations: 11.98 kB / 326.4 MB, free: 6.598 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.908e-06/0.002173, allocations: 4 kB / 326.4 MB, free: 6.594 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.002343, allocations: 135.8 kB / 326.5 MB, free: 6.461 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.002355, allocations: 7.938 kB / 326.5 MB, free: 6.453 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.526e-05/0.00237, allocations: 11.98 kB / 326.5 MB, free: 6.441 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.00253, allocations: 147.5 kB / 326.7 MB, free: 6.297 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.002532, allocations: 0 / 326.7 MB, free: 6.297 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002533, allocations: 0 / 326.7 MB, free: 6.297 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.002536, allocations: 0 / 326.7 MB, free: 6.297 MB / 298.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.0002611/0.002797, allocations: 270.5 kB / 326.9 MB, free: 6.012 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.002827, allocations: 8.031 kB / 326.9 MB, free: 6.004 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.232e-05/0.002849, allocations: 12.92 kB / 326.9 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.142e-05/0.002921, allocations: 121.6 kB / 327.1 MB, free: 5.848 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.00293, allocations: 4.375 kB / 327.1 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.002947, allocations: 4.375 kB / 327.1 MB, free: 5.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.03e-05/0.003007, allocations: 46.23 kB / 327.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.003015, allocations: 192 / 327.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.003022, allocations: 4.375 kB / 327.1 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.003027, allocations: 4.125 kB / 327.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.87e-05/0.003055, allocations: 19.92 kB / 327.1 MB, free: 5.762 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.078e-05/0.003146, allocations: 69.03 kB / 327.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.003268, allocations: 42.56 kB / 327.2 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.792e-05/0.003286, allocations: 20.8 kB / 327.3 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.003413, allocations: 31.95 kB / 327.3 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.003433, allocations: 38.78 kB / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 7.12e-07/0.003434, allocations: 0 / 327.3 MB, free: 5.527 MB / 298.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.04865/0.05208, allocations: 5.724 MB / 333.1 MB, free: 15.76 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.05212, allocations: 51.41 kB / 333.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.512e-05/0.05217, allocations: 114.7 kB / 333.2 MB, free: 15.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.0522, allocations: 29.7 kB / 333.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.047e-05/0.05223, allocations: 80.14 kB / 333.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.531e-05/0.05229, allocations: 67.41 kB / 333.4 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.676e-05/0.05239, allocations: 65.53 kB / 333.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.112e-05/0.05246, allocations: 326.8 kB / 333.8 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.05259, allocations: 139.9 kB / 333.9 MB, free: 14.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.05272, allocations: 139.9 kB / 334.1 MB, free: 14.72 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006884/0.0534, allocations: 410.9 kB / 334.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.05341, allocations: 0 / 334.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005395/0.05395, allocations: 385.5 kB / 334.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.05396, allocations: 7.938 kB / 334.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.05397, allocations: 0 / 334.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.05398, allocations: 7.938 kB / 334.8 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.05424, allocations: 83.78 kB / 334.9 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.05425, allocations: 0 / 334.9 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.05439, allocations: 23.97 kB / 335 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.05442, allocations: 19.94 kB / 335 MB, free: 13.79 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.257e-05/0.05452, allocations: 117.8 kB / 335.1 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.05456, allocations: 11.94 kB / 335.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006784/0.05524, allocations: 0.4925 MB / 335.6 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.05524, allocations: 4 kB / 335.6 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.05524, allocations: 0 / 335.6 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.05525, allocations: 0 / 335.6 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.05663, allocations: 0.6944 MB / 336.3 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.05664, allocations: 4.188 kB / 336.3 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.05684, allocations: 79.8 kB / 336.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.05684, allocations: 4 kB / 336.4 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.05687, allocations: 19.95 kB / 336.4 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.05687, allocations: 0 / 336.4 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.05687, allocations: 4 kB / 336.4 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000499/0.05737, allocations: 400.3 kB / 336.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.295e-05/0.05738, allocations: 16.17 kB / 336.8 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.05741, allocations: 8 kB / 336.8 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.05756, allocations: 19.98 kB / 336.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.272e-05/0.05758, allocations: 27.84 kB / 336.9 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.05761, allocations: 15.95 kB / 336.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.063e-05/0.05762, allocations: 8.859 kB / 336.9 MB, free: 11.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05762, allocations: 0 / 336.9 MB, free: 11.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001055/0.05868, allocations: 0.6519 MB / 337.5 MB, free: 11.13 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.002277/0.06095, allocations: 303.7 kB / 337.8 MB, free: 10.83 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005083/0.06146, allocations: 308.5 kB / 338.1 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.06146, allocations: 0 / 338.1 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.06167, allocations: 126.9 kB / 338.3 MB, free: 10.4 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.06192, allocations: 47.88 kB / 338.3 MB, free: 10.35 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.06323, allocations: 418.3 kB / 338.7 MB, free: 9.898 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.539e-05/0.06329, allocations: 67.58 kB / 338.8 MB, free: 9.809 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003867/0.06368, allocations: 121 kB / 338.9 MB, free: 9.688 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003707/0.06405, allocations: 99.22 kB / 339 MB, free: 9.59 MB / 314.7 MB Notification: Performance of SimCode: time 9.32e-07/0.06405, allocations: 4 kB / 339 MB, free: 9.586 MB / 314.7 MB Notification: Performance of Templates: time 0.06798/0.132, allocations: 64.11 MB / 403.1 MB, free: 9.473 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.416832343209535]