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.001358/0.001358, allocations: 111.1 kB / 20.44 MB, free: 1.34 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.00158/0.00158, allocations: 208.2 kB / 23.72 MB, free: 4.527 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2264/0.2264, allocations: 46.95 MB / 360.9 MB, free: 4.141 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.002021/0.002021, allocations: 63.91 kB / 0.4966 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3034, allocations: 66.04 MB / 0.5611 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001645/0.3051, allocations: 0.5226 MB / 0.5616 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007629/0.3058, allocations: 370.9 kB / 0.5619 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.071e-05/0.3058, allocations: 0 / 0.5619 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.3059, allocations: 0 / 0.5619 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.573e-05/0.3059, allocations: 3.938 kB / 0.5619 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004999/0.3064, allocations: 143.4 kB / 0.5621 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.121e-05/0.3065, allocations: 19.92 kB / 0.5621 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.615e-05/0.3065, allocations: 8 kB / 0.5621 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.854e-05/0.3065, allocations: 19.91 kB / 0.5621 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.379e-05/0.3066, allocations: 19.92 kB / 0.5621 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.859e-06/0.3066, allocations: 0 / 0.5621 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002539/0.3068, allocations: 143.8 kB / 0.5623 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.3069, allocations: 15.92 kB / 0.5623 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2e-05/0.3069, allocations: 7.938 kB / 0.5623 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.3071, allocations: 122.2 kB / 0.5624 GB, free: 2.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3071, allocations: 0 / 0.5624 GB, free: 2.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3071, allocations: 3.938 kB / 0.5624 GB, free: 2.766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3071, allocations: 0 / 0.5624 GB, free: 2.766 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.0004458/0.3075, allocations: 301.9 kB / 0.5627 GB, free: 2.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.3076, allocations: 8.031 kB / 0.5627 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.017e-05/0.3076, allocations: 8.938 kB / 0.5627 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.3077, allocations: 110.5 kB / 0.5628 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.3077, allocations: 4.375 kB / 0.5628 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.3078, allocations: 4.375 kB / 0.5628 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.3079, allocations: 58.17 kB / 0.5629 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3079, allocations: 3.938 kB / 0.5629 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3079, allocations: 4 kB / 0.5629 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3079, allocations: 7.984 kB / 0.5629 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.373e-05/0.308, allocations: 23.98 kB / 0.5629 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.3081, allocations: 113.3 kB / 0.563 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.3083, allocations: 54.58 kB / 0.5631 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.974e-05/0.3084, allocations: 24.84 kB / 0.5631 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002744/0.3087, allocations: 27.97 kB / 0.5631 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.3087, allocations: 34.55 kB / 0.5632 GB, free: 1.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.3087, allocations: 0 / 0.5632 GB, free: 1.883 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.1575/0.4662, allocations: 6.399 MB / 0.5694 GB, free: 11.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.4663, allocations: 55.41 kB / 0.5695 GB, free: 11.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.494e-05/0.4664, allocations: 105.8 kB / 0.5696 GB, free: 11.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.76e-05/0.4664, allocations: 29.7 kB / 0.5696 GB, free: 11.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.027e-05/0.4665, allocations: 84.14 kB / 0.5697 GB, free: 11.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.4666, allocations: 67.42 kB / 0.5698 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.4668, allocations: 85.59 kB / 0.5698 GB, free: 10.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.4669, allocations: 322.8 kB / 0.5701 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005928/0.4675, allocations: 231.8 kB / 0.5704 GB, free: 10.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000585/0.4681, allocations: 231.8 kB / 0.5706 GB, free: 10.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002353/0.4705, allocations: 0.5612 MB / 0.5711 GB, free: 9.645 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4705, allocations: 4 kB / 0.5711 GB, free: 9.641 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002055/0.4725, allocations: 0.6006 MB / 0.5717 GB, free: 9.035 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.4725, allocations: 11.98 kB / 0.5717 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4725, allocations: 0 / 0.5717 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.4726, allocations: 4 kB / 0.5717 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007927/0.4734, allocations: 107.8 kB / 0.5718 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.4734, allocations: 0 / 0.5718 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000537/0.4739, allocations: 27.97 kB / 0.5719 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.789e-05/0.474, allocations: 31.94 kB / 0.5719 GB, free: 8.855 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.0001636/0.4741, allocations: 117.8 kB / 0.572 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/0.4742, allocations: 7.953 kB / 0.572 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/0.4766, allocations: 0.7398 MB / 0.5727 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.4766, allocations: 0 / 0.5727 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.4766, allocations: 0 / 0.5727 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4766, allocations: 3.984 kB / 0.5727 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00473/0.4813, allocations: 1.044 MB / 0.5738 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.4813, allocations: 0 / 0.5738 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006686/0.482, allocations: 103.8 kB / 0.5739 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.482, allocations: 3.938 kB / 0.5739 GB, free: 6.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.456e-05/0.482, allocations: 31.89 kB / 0.5739 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.4821, allocations: 4 kB / 0.5739 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4821, allocations: 0 / 0.5739 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.4839, allocations: 0.5885 MB / 0.5745 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.014e-05/0.484, allocations: 19.89 kB / 0.5745 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.843e-05/0.484, allocations: 0 / 0.5745 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005495/0.4846, allocations: 35.95 kB / 0.5745 GB, free: 6.062 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.4846, allocations: 7.984 kB / 0.5745 GB, free: 6.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.897e-05/0.4847, allocations: 31.95 kB / 0.5746 GB, free: 6.023 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.14e-05/0.4847, allocations: 83.27 kB / 0.5746 GB, free: 5.941 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4847, allocations: 0 / 0.5746 GB, free: 5.941 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001807/0.4865, allocations: 0.6519 MB / 0.5753 GB, free: 5.289 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.003223/0.4897, allocations: 294.8 kB / 0.5756 GB, free: 4.988 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.491, allocations: 439.5 kB / 0.576 GB, free: 4.559 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.491, allocations: 0 / 0.576 GB, free: 4.559 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005541/0.4915, allocations: 195.6 kB / 0.5762 GB, free: 4.367 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.4919, allocations: 27.05 kB / 0.5762 GB, free: 4.344 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.4947, allocations: 0.5252 MB / 0.5767 GB, free: 3.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.329e-05/0.4948, allocations: 83.56 kB / 0.5768 GB, free: 3.664 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004496/0.4952, allocations: 121 kB / 0.5769 GB, free: 3.543 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003407/0.4956, allocations: 87.28 kB / 0.577 GB, free: 3.457 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4956, allocations: 0 / 0.577 GB, free: 3.457 MB / 414.1 MB Notification: Performance of Templates: time 0.07834/0.5739, allocations: 58.47 MB / 0.6341 GB, free: 9.008 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: 5.947734083980322]