Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009558/0.0009558, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.0009968/0.0009968, allocations: 165.3 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8268/0.8268, allocations: 158.6 MB / 185.7 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1207/0.1207, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 347.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.601e-05, allocations: 6.25 kB / 347.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0009488/0.0009648, allocations: 0.5571 MB / 348.2 MB, free: 8.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004699/0.001435, allocations: 390.8 kB / 348.6 MB, free: 8.523 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.458e-05/0.001459, allocations: 0 / 348.6 MB, free: 8.523 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.637e-05/0.001476, allocations: 3.938 kB / 348.6 MB, free: 8.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.739e-05/0.001503, allocations: 0 / 348.6 MB, free: 8.52 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.001883, allocations: 139.4 kB / 348.7 MB, free: 8.383 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.599e-05/0.001929, allocations: 31.89 kB / 348.8 MB, free: 8.352 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.497e-05/0.001964, allocations: 0 / 348.8 MB, free: 8.352 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.89e-05/0.001993, allocations: 15.98 kB / 348.8 MB, free: 8.336 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.228e-05/0.002035, allocations: 7.984 kB / 348.8 MB, free: 8.328 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.002048, allocations: 11.92 kB / 348.8 MB, free: 8.316 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.002203, allocations: 135.8 kB / 348.9 MB, free: 8.184 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.002214, allocations: 4 kB / 348.9 MB, free: 8.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.699e-05/0.002231, allocations: 15.92 kB / 349 MB, free: 8.164 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.002381, allocations: 143.6 kB / 349.1 MB, free: 8.023 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.002383, allocations: 0 / 349.1 MB, free: 8.023 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002383, allocations: 4 kB / 349.1 MB, free: 8.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.002387, allocations: 0 / 349.1 MB, free: 8.02 MB / 282.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.0002765/0.002664, allocations: 396.3 kB / 349.5 MB, free: 7.598 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.002697, allocations: 8.031 kB / 349.5 MB, free: 7.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.002732, allocations: 8.891 kB / 349.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.549e-05/0.002787, allocations: 116.5 kB / 349.6 MB, free: 7.441 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.002799, allocations: 8.297 kB / 349.6 MB, free: 7.434 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.002824, allocations: 16.36 kB / 349.6 MB, free: 7.418 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.199e-05/0.002906, allocations: 50.19 kB / 349.7 MB, free: 7.363 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.002915, allocations: 4.141 kB / 349.7 MB, free: 7.359 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.002923, allocations: 384 / 349.7 MB, free: 7.359 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.002931, allocations: 4.125 kB / 349.7 MB, free: 7.355 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.87e-05/0.00297, allocations: 27.97 kB / 349.7 MB, free: 7.328 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001026/0.003072, allocations: 120.6 kB / 349.8 MB, free: 7.176 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.003223, allocations: 63.06 kB / 349.9 MB, free: 7.102 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.967e-05/0.003252, allocations: 15.69 kB / 349.9 MB, free: 7.082 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.003409, allocations: 39.95 kB / 350 MB, free: 7.043 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.358e-05/0.003423, allocations: 33.39 kB / 350 MB, free: 7 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 8.02e-07/0.003424, allocations: 4 kB / 350 MB, free: 6.996 MB / 282.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.063/0.06642, allocations: 6.109 MB / 356.1 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.06645, allocations: 55.41 kB / 356.2 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.218e-05/0.06651, allocations: 161.9 kB / 356.3 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.06654, allocations: 25.7 kB / 356.3 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.032e-05/0.06656, allocations: 134.9 kB / 356.5 MB, free: 444 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.522e-05/0.06662, allocations: 67.36 kB / 356.5 MB, free: 376 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.06675, allocations: 95.25 kB / 356.6 MB, free: 272 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.06686, allocations: 0.4923 MB / 357.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.06716, allocations: 219.9 kB / 357.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.06746, allocations: 215 kB / 357.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.06867, allocations: 0.4994 MB / 358 MB, free: 14.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.06867, allocations: 4 kB / 358.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001134/0.06981, allocations: 0.5789 MB / 358.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.06983, allocations: 11.98 kB / 358.6 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.06983, allocations: 0 / 358.6 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.06985, allocations: 0 / 358.6 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/0.07026, allocations: 107.8 kB / 358.7 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.07027, allocations: 7.938 kB / 358.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.0705, allocations: 15.98 kB / 358.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.538e-05/0.07056, allocations: 32.19 kB / 358.8 MB, free: 14.08 MB / 298.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.0001288/0.07069, allocations: 160.6 kB / 359 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.726e-05/0.07076, allocations: 15.89 kB / 359 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.07211, allocations: 0.6929 MB / 359.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.07211, allocations: 4 kB / 359.7 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.07212, allocations: 0 / 359.7 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.07212, allocations: 3.984 kB / 359.7 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002475/0.0746, allocations: 1.04 MB / 360.7 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.0746, allocations: 4 kB / 360.7 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003403/0.07494, allocations: 104 kB / 360.8 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.07495, allocations: 4 kB / 360.8 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.245e-05/0.07499, allocations: 23.95 kB / 360.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.139e-05/0.075, allocations: 7.938 kB / 360.9 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.07501, allocations: 3.984 kB / 360.9 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.07604, allocations: 0.5914 MB / 361.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.612e-05/0.07606, allocations: 7.953 kB / 361.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.341e-05/0.0761, allocations: 4 kB / 361.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.07635, allocations: 27.91 kB / 361.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.07638, allocations: 23.91 kB / 361.5 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.07643, allocations: 27.95 kB / 361.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.356e-05/0.07647, allocations: 123.2 kB / 361.7 MB, free: 11.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.07647, allocations: 0 / 361.7 MB, free: 11.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001508/0.07798, allocations: 0.6519 MB / 362.3 MB, free: 10.43 MB / 298.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.00262/0.0806, allocations: 326.5 kB / 362.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007036/0.0813, allocations: 430.6 kB / 363.1 MB, free: 9.684 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.08131, allocations: 0 / 363.1 MB, free: 9.684 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002912/0.0816, allocations: 195.8 kB / 363.2 MB, free: 9.488 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.08194, allocations: 48.42 kB / 363.3 MB, free: 9.441 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.08339, allocations: 0.5157 MB / 363.8 MB, free: 8.871 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.455e-05/0.08344, allocations: 67.58 kB / 363.9 MB, free: 8.781 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003549/0.0838, allocations: 129.2 kB / 364 MB, free: 8.652 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002976/0.0841, allocations: 84.36 kB / 364.1 MB, free: 8.57 MB / 298.7 MB Notification: Performance of SimCode: time 1.353e-06/0.0841, allocations: 0 / 364.1 MB, free: 8.57 MB / 298.7 MB Notification: Performance of Templates: time 0.06964/0.1537, allocations: 59.59 MB / 423.7 MB, free: 12.77 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.5688973157666624]