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.001191/0.001191, allocations: 111.1 kB / 16.41 MB, free: 6.484 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.001385/0.001385, allocations: 189.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.1978/0.1978, allocations: 43.53 MB / 314.1 MB, free: 452 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.001335/0.001335, allocations: 59.91 kB / 441.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1176, allocations: 57.79 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001517/0.1191, allocations: 0.5375 MB / 0.4884 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007003/0.1198, allocations: 413.5 kB / 0.4888 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.431e-05/0.1199, allocations: 0 / 0.4888 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.1199, allocations: 0 / 0.4888 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.67e-05/0.1199, allocations: 7.938 kB / 0.4888 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004414/0.1204, allocations: 143.5 kB / 0.4889 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.911e-05/0.1205, allocations: 23.92 kB / 0.489 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.947e-05/0.1205, allocations: 4 kB / 0.489 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.335e-05/0.1205, allocations: 15.92 kB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.553e-05/0.1206, allocations: 19.92 kB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.1206, allocations: 0 / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002422/0.1209, allocations: 159.8 kB / 0.4892 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.1209, allocations: 11.94 kB / 0.4892 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.1209, allocations: 11.94 kB / 0.4892 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.1211, allocations: 131.6 kB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.1211, allocations: 4 kB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1211, allocations: 3.938 kB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1211, allocations: 0 / 0.4893 GB, free: 10.35 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.0004147/0.1215, allocations: 367.3 kB / 0.4897 GB, free: 9.941 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.1216, allocations: 12.03 kB / 0.4897 GB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.1216, allocations: 4.922 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.1218, allocations: 172.4 kB / 0.4898 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1218, allocations: 384 / 0.4898 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.1218, allocations: 8.281 kB / 0.4898 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.122, allocations: 54.19 kB / 0.4899 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.122, allocations: 3.938 kB / 0.4899 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.122, allocations: 4 kB / 0.4899 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.122, allocations: 0 / 0.4899 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.631e-05/0.1221, allocations: 31.97 kB / 0.4899 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.1223, allocations: 165.6 kB / 0.4901 GB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.1225, allocations: 66.58 kB / 0.4902 GB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/0.1225, allocations: 24.86 kB / 0.4902 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002504/0.1228, allocations: 105.1 kB / 0.4903 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.1228, allocations: 30.56 kB / 0.4903 GB, free: 9.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.1228, allocations: 0 / 0.4903 GB, free: 9.141 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.1338/0.2567, allocations: 6.4 MB / 0.4966 GB, free: 2.703 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.2567, allocations: 55.88 kB / 0.4966 GB, free: 2.637 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.913e-05/0.2568, allocations: 97.86 kB / 0.4967 GB, free: 2.531 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.62e-05/0.2569, allocations: 25.7 kB / 0.4967 GB, free: 2.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.2569, allocations: 88.14 kB / 0.4968 GB, free: 2.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.182e-05/0.257, allocations: 59.09 kB / 0.4969 GB, free: 2.352 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.2572, allocations: 89.53 kB / 0.497 GB, free: 2.258 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2573, allocations: 334.8 kB / 0.4973 GB, free: 1.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005365/0.2579, allocations: 223.8 kB / 0.4975 GB, free: 1.703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005248/0.2584, allocations: 231.8 kB / 0.4977 GB, free: 1.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002072/0.2605, allocations: 0.559 MB / 0.4983 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2605, allocations: 0 / 0.4983 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001757/0.2623, allocations: 0.6138 MB / 0.4989 GB, free: 304 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.2623, allocations: 4 kB / 0.4989 GB, free: 300 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2623, allocations: 0 / 0.4989 GB, free: 300 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.2623, allocations: 4 kB / 0.4989 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006317/0.263, allocations: 107.8 kB / 0.499 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.263, allocations: 0 / 0.499 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000426/0.2634, allocations: 27.95 kB / 0.499 GB, free: 160 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.539e-05/0.2635, allocations: 35.94 kB / 0.499 GB, free: 124 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.0001721/0.2637, allocations: 125.9 kB / 0.4991 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.48e-05/0.2637, allocations: 7.906 kB / 0.4992 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/0.2658, allocations: 0.724 MB / 0.4999 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.2658, allocations: 4 kB / 0.4999 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2658, allocations: 256 / 0.4999 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2658, allocations: 0 / 0.4999 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003822/0.2696, allocations: 1.18 MB / 0.501 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.2697, allocations: 0 / 0.501 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005184/0.2702, allocations: 103.7 kB / 0.5011 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.2702, allocations: 4 kB / 0.5011 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.435e-05/0.2702, allocations: 27.95 kB / 0.5011 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.2703, allocations: 4 kB / 0.5012 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2703, allocations: 0 / 0.5012 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.2719, allocations: 0.5823 MB / 0.5017 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.2719, allocations: 85.02 kB / 0.5018 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.62e-05/0.272, allocations: 8 kB / 0.5018 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004059/0.2724, allocations: 23.95 kB / 0.5018 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.2724, allocations: 19.98 kB / 0.5019 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.494e-05/0.2725, allocations: 27.95 kB / 0.5019 GB, free: 13.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.291e-05/0.2725, allocations: 79.28 kB / 0.502 GB, free: 12.97 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.292e-06/0.2725, allocations: 0 / 0.502 GB, free: 12.97 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001596/0.2741, allocations: 0.6444 MB / 0.5026 GB, free: 12.32 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.003393/0.2775, allocations: 298.9 kB / 0.5029 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.2787, allocations: 463.1 kB / 0.5033 GB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.2787, allocations: 4 kB / 0.5033 GB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004885/0.2792, allocations: 196.1 kB / 0.5035 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.2795, allocations: 19.98 kB / 0.5035 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.2817, allocations: 0.5138 MB / 0.504 GB, free: 10.8 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.2819, allocations: 0.6926 MB / 0.5047 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004081/0.2824, allocations: 128.9 kB / 0.5048 GB, free: 9.945 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/0.2827, allocations: 87.28 kB / 0.5049 GB, free: 9.859 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2827, allocations: 0 / 0.5049 GB, free: 9.859 MB / 398.1 MB Notification: Performance of Templates: time 0.2828/0.5655, allocations: 57.4 MB / 0.561 GB, free: 21.73 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins/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