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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,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=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 115 kB / 17.08 MB, free: 5.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 193.3 kB / 18.01 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.304/3.304, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.401/0.401, allocations: 43.52 MB / 314.8 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002674/0.002674, allocations: 71.89 kB / 442.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2095, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.002952/0.2125, allocations: 0.5368 MB / 0.4891 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.2139, allocations: 407.2 kB / 0.4894 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.976e-05/0.2139, allocations: 0 / 0.4894 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.091e-05/0.214, allocations: 0 / 0.4894 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.912e-05/0.2141, allocations: 7.938 kB / 0.4895 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007983/0.2149, allocations: 143.5 kB / 0.4896 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.919e-05/0.215, allocations: 23.92 kB / 0.4896 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.014e-05/0.215, allocations: 0 / 0.4896 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.418e-05/0.2151, allocations: 19.91 kB / 0.4896 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.091e-05/0.2152, allocations: 15.92 kB / 0.4896 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.2152, allocations: 0 / 0.4896 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000441/0.2157, allocations: 159.8 kB / 0.4898 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/0.2157, allocations: 11.94 kB / 0.4898 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.059e-05/0.2158, allocations: 15.92 kB / 0.4898 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.2161, allocations: 127.6 kB / 0.4899 GB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.2161, allocations: 4 kB / 0.49 GB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.2161, allocations: 0 / 0.49 GB, free: 10.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.2162, allocations: 0 / 0.49 GB, free: 10.37 MB / 382.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.000573/0.2167, allocations: 367.3 kB / 0.4903 GB, free: 9.965 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.2168, allocations: 8.031 kB / 0.4903 GB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.2169, allocations: 4.875 kB / 0.4903 GB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.217, allocations: 172.4 kB / 0.4905 GB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.2171, allocations: 4.375 kB / 0.4905 GB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.2171, allocations: 12.28 kB / 0.4905 GB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.2173, allocations: 58.17 kB / 0.4906 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.2173, allocations: 7.938 kB / 0.4906 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.2174, allocations: 0 / 0.4906 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.2174, allocations: 0 / 0.4906 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.274e-05/0.2175, allocations: 27.98 kB / 0.4906 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002542/0.2177, allocations: 165.6 kB / 0.4907 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.2181, allocations: 66.58 kB / 0.4908 GB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.529e-05/0.2182, allocations: 24.84 kB / 0.4908 GB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003808/0.2186, allocations: 105.1 kB / 0.4909 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.2186, allocations: 30.56 kB / 0.491 GB, free: 9.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.843e-06/0.2186, allocations: 4 kB / 0.491 GB, free: 9.156 MB / 382.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.2579/0.4765, allocations: 6.393 MB / 0.4972 GB, free: 2.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.4767, allocations: 55.41 kB / 0.4973 GB, free: 2.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.4768, allocations: 105.8 kB / 0.4974 GB, free: 2.543 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.789e-05/0.4769, allocations: 25.7 kB / 0.4974 GB, free: 2.512 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.477, allocations: 88.14 kB / 0.4975 GB, free: 2.422 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.4771, allocations: 55.11 kB / 0.4975 GB, free: 2.367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003043/0.4774, allocations: 85.59 kB / 0.4976 GB, free: 2.277 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.4776, allocations: 335.2 kB / 0.4979 GB, free: 1.941 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.4787, allocations: 223.8 kB / 0.4981 GB, free: 1.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.4797, allocations: 227.8 kB / 0.4984 GB, free: 1.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003239/0.483, allocations: 0.5629 MB / 0.4989 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.483, allocations: 0 / 0.4989 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002843/0.4859, allocations: 0.6176 MB / 0.4995 GB, free: 320 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.4859, allocations: 11.27 kB / 0.4995 GB, free: 312 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.4859, allocations: 0 / 0.4995 GB, free: 312 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.486, allocations: 4 kB / 0.4995 GB, free: 308 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009648/0.487, allocations: 107.8 kB / 0.4996 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.487, allocations: 0 / 0.4996 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006531/0.4876, allocations: 23.97 kB / 0.4996 GB, free: 176 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.4878, allocations: 35.94 kB / 0.4997 GB, free: 140 kB / 382.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.0002696/0.488, allocations: 125.7 kB / 0.4998 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.4882, allocations: 7.953 kB / 0.4998 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003173/0.4914, allocations: 0.724 MB / 0.5005 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.4914, allocations: 4 kB / 0.5005 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.4914, allocations: 0 / 0.5005 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.4914, allocations: 3.984 kB / 0.5005 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005924/0.4974, allocations: 1.18 MB / 0.5017 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.4974, allocations: 4 kB / 0.5017 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008069/0.4983, allocations: 95.8 kB / 0.5018 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.428e-05/0.4983, allocations: 4 kB / 0.5018 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.072e-05/0.4984, allocations: 23.95 kB / 0.5018 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.899e-06/0.4984, allocations: 4 kB / 0.5018 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4984, allocations: 0 / 0.5018 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002822/0.5012, allocations: 0.5862 MB / 0.5024 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.615e-05/0.5014, allocations: 85.02 kB / 0.5025 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.475e-05/0.5015, allocations: 4.25 kB / 0.5025 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007684/0.5023, allocations: 27.95 kB / 0.5025 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.5023, allocations: 19.98 kB / 0.5025 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.225e-05/0.5024, allocations: 31.95 kB / 0.5025 GB, free: 13.06 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.89e-05/0.5025, allocations: 79.28 kB / 0.5026 GB, free: 12.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5026, allocations: 0 / 0.5026 GB, free: 12.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002863/0.5054, allocations: 0.6444 MB / 0.5032 GB, free: 12.34 MB / 398.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.004517/0.51, allocations: 302.9 kB / 0.5035 GB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0019/0.5119, allocations: 459 kB / 0.504 GB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.5119, allocations: 0 / 0.504 GB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000802/0.5127, allocations: 200.1 kB / 0.5042 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005007/0.5133, allocations: 12 kB / 0.5042 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/0.5168, allocations: 0.539 MB / 0.5047 GB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.5172, allocations: 0.6965 MB / 0.5054 GB, free: 10.06 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004509/0.5176, allocations: 87.3 kB / 0.5055 GB, free: 9.977 MB / 398.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5176, allocations: 0 / 0.5055 GB, free: 9.977 MB / 398.1 MB Notification: Performance of Templates: time 0.0397/0.5574, allocations: 15.96 MB / 0.521 GB, free: 9.988 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches