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.001406/0.001406, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001555/0.001555, allocations: 211.4 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.2305/0.2305, allocations: 46.96 MB / 360.9 MB, free: 4.055 MB / 286.1 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 0.00221/0.00221, allocations: 75.88 kB / 0.4966 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.317, allocations: 66.02 MB / 0.5611 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001627/0.3186, allocations: 0.5333 MB / 0.5616 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008034/0.3194, allocations: 370.9 kB / 0.5619 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.3194, allocations: 0 / 0.5619 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.3195, allocations: 3.938 kB / 0.5619 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.057e-05/0.3195, allocations: 0 / 0.5619 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005272/0.32, allocations: 151.3 kB / 0.5621 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6e-05/0.3201, allocations: 19.98 kB / 0.5621 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.177e-05/0.3201, allocations: 0 / 0.5621 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.309e-05/0.3201, allocations: 19.92 kB / 0.5621 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.195e-05/0.3202, allocations: 11.92 kB / 0.5621 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.3202, allocations: 7.938 kB / 0.5621 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.3205, allocations: 139.8 kB / 0.5623 GB, free: 2.949 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.3205, allocations: 3.984 kB / 0.5623 GB, free: 2.945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.3205, allocations: 11.94 kB / 0.5623 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.3207, allocations: 122.2 kB / 0.5624 GB, free: 2.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3207, allocations: 0 / 0.5624 GB, free: 2.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3207, allocations: 0 / 0.5624 GB, free: 2.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.3207, allocations: 3.938 kB / 0.5624 GB, free: 2.816 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.0004335/0.3212, allocations: 297.9 kB / 0.5627 GB, free: 2.496 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3212, allocations: 12.03 kB / 0.5627 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.3212, allocations: 0.9375 kB / 0.5627 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.3213, allocations: 118.4 kB / 0.5628 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.3213, allocations: 384 / 0.5628 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.3214, allocations: 8.375 kB / 0.5628 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.3215, allocations: 58.19 kB / 0.5629 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.3215, allocations: 7.938 kB / 0.5629 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.3215, allocations: 0 / 0.5629 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3215, allocations: 0 / 0.5629 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.141e-05/0.3216, allocations: 27.97 kB / 0.5629 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.3218, allocations: 109.3 kB / 0.563 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.322, allocations: 58.58 kB / 0.5631 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.786e-05/0.322, allocations: 20.86 kB / 0.5631 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/0.3223, allocations: 31.94 kB / 0.5631 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.3223, allocations: 42.56 kB / 0.5632 GB, free: 1.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.3223, allocations: 0 / 0.5632 GB, free: 1.93 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.1481/0.4704, allocations: 6.395 MB / 0.5694 GB, free: 11.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.4704, allocations: 55.41 kB / 0.5695 GB, free: 11.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.4705, allocations: 101.9 kB / 0.5696 GB, free: 11.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.075e-05/0.4706, allocations: 29.7 kB / 0.5696 GB, free: 11.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/0.4706, allocations: 80.14 kB / 0.5697 GB, free: 11.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.4707, allocations: 71.42 kB / 0.5697 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.4709, allocations: 89.53 kB / 0.5698 GB, free: 11.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.4711, allocations: 326.8 kB / 0.5701 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000567/0.4717, allocations: 228.3 kB / 0.5704 GB, free: 10.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005682/0.4722, allocations: 230 kB / 0.5706 GB, free: 10.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002187/0.4744, allocations: 0.5591 MB / 0.5711 GB, free: 9.699 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4744, allocations: 0 / 0.5711 GB, free: 9.699 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001923/0.4763, allocations: 0.6123 MB / 0.5717 GB, free: 9.082 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.4764, allocations: 7.938 kB / 0.5717 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.4764, allocations: 0 / 0.5717 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.4764, allocations: 0 / 0.5717 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006917/0.4771, allocations: 111.8 kB / 0.5718 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.4771, allocations: 0 / 0.5718 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000431/0.4775, allocations: 23.95 kB / 0.5719 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-05/0.4776, allocations: 35.94 kB / 0.5719 GB, free: 8.906 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.0001697/0.4777, allocations: 121.8 kB / 0.572 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.827e-05/0.4778, allocations: 11.89 kB / 0.572 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/0.4801, allocations: 0.7308 MB / 0.5727 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/0.4801, allocations: 8 kB / 0.5727 GB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4801, allocations: 4 kB / 0.5727 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.4801, allocations: 0 / 0.5727 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004185/0.4843, allocations: 1.04 MB / 0.5738 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.4843, allocations: 4 kB / 0.5738 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006147/0.4849, allocations: 103.7 kB / 0.5739 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/0.4849, allocations: 8.125 kB / 0.5739 GB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.936e-05/0.485, allocations: 31.95 kB / 0.5739 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.485, allocations: 4 kB / 0.5739 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.485, allocations: 0 / 0.5739 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.4867, allocations: 0.5821 MB / 0.5745 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.4868, allocations: 15.89 kB / 0.5745 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.425e-05/0.4868, allocations: 8 kB / 0.5745 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/0.4872, allocations: 19.97 kB / 0.5745 GB, free: 6.121 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.4872, allocations: 23.91 kB / 0.5745 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.098e-05/0.4873, allocations: 27.95 kB / 0.5746 GB, free: 6.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.985e-05/0.4873, allocations: 79.28 kB / 0.5746 GB, free: 5.992 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4873, allocations: 0 / 0.5746 GB, free: 5.992 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001718/0.4891, allocations: 0.648 MB / 0.5753 GB, free: 5.344 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.00337/0.4924, allocations: 298.6 kB / 0.5756 GB, free: 5.039 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.4937, allocations: 447.4 kB / 0.576 GB, free: 4.602 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4937, allocations: 0 / 0.576 GB, free: 4.602 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005659/0.4943, allocations: 192.1 kB / 0.5762 GB, free: 4.414 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.4946, allocations: 15.94 kB / 0.5762 GB, free: 4.398 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/0.4971, allocations: 0.5252 MB / 0.5767 GB, free: 3.824 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.296e-05/0.4972, allocations: 79.56 kB / 0.5768 GB, free: 3.723 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004733/0.4976, allocations: 125 kB / 0.5769 GB, free: 3.598 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/0.498, allocations: 91.28 kB / 0.577 GB, free: 3.508 MB / 414.1 MB Notification: Performance of SimCode: time 7.02e-07/0.498, allocations: 0 / 0.577 GB, free: 3.508 MB / 414.1 MB Notification: Performance of Templates: time 0.08498/0.5829, allocations: 58.42 MB / 0.634 GB, free: 9.102 MB / 478.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 6.079863473773003]