Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.00114/0.00114, allocations: 195.3 kB / 19.23 MB, free: 3.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 242.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2058/0.2058, allocations: 44.18 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 65 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1114, allocations: 60.83 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001685/0.1131, allocations: 0.4951 MB / 470.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002843/0.1134, allocations: 103.6 kB / 470.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.299e-05/0.1135, allocations: 0 / 470.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.412e-05/0.1135, allocations: 0 / 470.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.756e-05/0.1135, allocations: 0 / 470.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.1137, allocations: 19.92 kB / 470.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.631e-05/0.1138, allocations: 15.98 kB / 470.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.762e-05/0.1138, allocations: 4 kB / 470.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.314e-05/0.1139, allocations: 4 kB / 470.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.554e-05/0.1139, allocations: 11.92 kB / 470.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.1139, allocations: 0 / 470.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.158e-05/0.114, allocations: 31.97 kB / 470.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.114, allocations: 0 / 470.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.708e-05/0.1141, allocations: 11.92 kB / 470.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.724e-05/0.1141, allocations: 19.97 kB / 470.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1142, allocations: 0 / 470.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1142, allocations: 4 kB / 470.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1142, allocations: 0 / 470.6 MB, free: 13.67 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004021/0.1146, allocations: 335.5 kB / 471 MB, free: 13.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1146, allocations: 8.031 kB / 471 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.1147, allocations: 4.938 kB / 471 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.1148, allocations: 164.4 kB / 471.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.1148, allocations: 4.312 kB / 471.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.1148, allocations: 4.375 kB / 471.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.1149, allocations: 55.97 kB / 471.2 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.115, allocations: 192 / 471.2 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.115, allocations: 7.938 kB / 471.2 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.115, allocations: 0 / 471.2 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.354e-05/0.115, allocations: 11.94 kB / 471.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.1153, allocations: 325.3 kB / 471.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.249e-05/0.1154, allocations: 30.52 kB / 471.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.688e-05/0.1155, allocations: 12.86 kB / 471.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.1155, allocations: 8 kB / 471.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.1155, allocations: 30.56 kB / 471.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1155, allocations: 0 / 471.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001721/0.1157, allocations: 53.72 kB / 471.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.1157, allocations: 55.39 kB / 471.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.307e-05/0.1158, allocations: 101.9 kB / 471.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.1159, allocations: 25.7 kB / 471.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.1159, allocations: 82.64 kB / 471.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.298e-05/0.1159, allocations: 15.81 kB / 471.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.026e-05/0.116, allocations: 17.7 kB / 472 MB, free: 12.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1161, allocations: 314.8 kB / 472.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.225e-05/0.1161, allocations: 7.938 kB / 472.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.986e-05/0.1161, allocations: 25.7 kB / 472.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.999e-05/0.1162, allocations: 33.78 kB / 472.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1162, allocations: 0 / 472.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.991e-05/0.1163, allocations: 61.8 kB / 472.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1163, allocations: 7.938 kB / 472.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.1163, allocations: 4 kB / 472.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1163, allocations: 0 / 472.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.286e-05/0.1164, allocations: 4 kB / 472.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.1164, allocations: 7.938 kB / 472.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.311e-05/0.1165, allocations: 7.938 kB / 472.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.1165, allocations: 3.984 kB / 472.4 MB, free: 11.63 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 6.814e-05/0.1165, allocations: 117.8 kB / 472.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.1166, allocations: 0 / 472.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.1167, allocations: 61.12 kB / 472.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1167, allocations: 0 / 472.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1167, allocations: 0 / 472.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1167, allocations: 0 / 472.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.1169, allocations: 173.5 kB / 472.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1169, allocations: 4 kB / 472.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.1169, allocations: 4 kB / 472.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.117, allocations: 7.984 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.117, allocations: 0 / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.117, allocations: 0 / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.117, allocations: 0 / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.1171, allocations: 147.7 kB / 472.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.1172, allocations: 89.02 kB / 473 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.1172, allocations: 4 kB / 473 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.962e-05/0.1173, allocations: 4 kB / 473 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.1173, allocations: 3.938 kB / 473 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.1173, allocations: 4 kB / 473 MB, free: 10.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.173e-05/0.1173, allocations: 79.27 kB / 473.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1173, allocations: 0 / 473.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.1176, allocations: 8 kB / 473.1 MB, free: 10.83 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0001141/0.1177, allocations: 99.25 kB / 473.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001076/0.1178, allocations: 28.08 kB / 473.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.1178, allocations: 0 / 473.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.807e-05/0.1178, allocations: 15.94 kB / 473.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.1181, allocations: 7.938 kB / 473.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002347/0.1183, allocations: 134.6 kB / 473.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.1186, allocations: 0.6768 MB / 474.1 MB, free: 9.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.033e-05/0.1186, allocations: 15.38 kB / 474.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of SimCode: time 1.543e-06/0.1186, allocations: 4.062 kB / 474.1 MB, free: 9.789 MB / 350.1 MB Notification: Performance of Templates: time 0.001843/0.1204, allocations: 0.57 MB / 474.7 MB, free: 9.219 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches