Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 97.91 kB / 16.93 MB, free: 5.805 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.001914/0.001914, allocations: 187.3 kB / 17.86 MB, free: 5.18 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.356/1.356, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.2041/0.2041, allocations: 43.52 MB / 314.6 MB, free: 0.5273 MB / 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.001749/0.001749, allocations: 73.33 kB / 383.4 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1095, allocations: 57.78 MB / 441.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001776/0.1113, allocations: 0.5381 MB / 441.7 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006514/0.112, allocations: 418.2 kB / 442.1 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.177e-05/0.112, allocations: 0 / 442.1 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.1121, allocations: 3.938 kB / 442.1 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.637e-05/0.1121, allocations: 0 / 442.1 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.1126, allocations: 143.8 kB / 442.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.173e-05/0.1127, allocations: 31.91 kB / 442.3 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.01e-05/0.1127, allocations: 4 kB / 442.3 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.348e-05/0.1128, allocations: 15.92 kB / 442.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.787e-05/0.1128, allocations: 19.91 kB / 442.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.1128, allocations: 4 kB / 442.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002606/0.1131, allocations: 159.8 kB / 442.5 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.1131, allocations: 8 kB / 442.5 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.481e-05/0.1132, allocations: 19.86 kB / 442.5 MB, free: 5.547 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.1134, allocations: 127.8 kB / 442.7 MB, free: 5.422 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1134, allocations: 4 kB / 442.7 MB, free: 5.418 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1134, allocations: 0 / 442.7 MB, free: 5.418 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1134, allocations: 0 / 442.7 MB, free: 5.418 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003381/0.1137, allocations: 367.4 kB / 443 MB, free: 5.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1138, allocations: 8.031 kB / 443 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.1138, allocations: 12.78 kB / 443 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.117e-05/0.1139, allocations: 160.4 kB / 443.2 MB, free: 4.797 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.1139, allocations: 4.375 kB / 443.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.1139, allocations: 8.375 kB / 443.2 MB, free: 4.785 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.1141, allocations: 70.16 kB / 443.3 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1141, allocations: 7.938 kB / 443.3 MB, free: 4.703 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1141, allocations: 4 kB / 443.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.1141, allocations: 0 / 443.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.544e-05/0.1142, allocations: 47.95 kB / 443.3 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.1143, allocations: 173.5 kB / 443.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.1145, allocations: 90.41 kB / 443.6 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.295e-05/0.1145, allocations: 40.78 kB / 443.6 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002493/0.1148, allocations: 97.08 kB / 443.7 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.1148, allocations: 30.56 kB / 443.8 MB, free: 4.145 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.1148, allocations: 4 kB / 443.8 MB, free: 4.141 MB / 318.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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1379/0.2528, allocations: 5.61 MB / 449.4 MB, free: 14.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.2528, allocations: 55.27 kB / 449.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.783e-05/0.2529, allocations: 97.84 kB / 449.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.253, allocations: 29.7 kB / 449.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.253, allocations: 80.52 kB / 449.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.916e-05/0.2531, allocations: 75.03 kB / 449.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.2532, allocations: 61.67 kB / 449.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.2534, allocations: 326.8 kB / 450.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003714/0.2537, allocations: 111.9 kB / 450.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.2541, allocations: 115.9 kB / 450.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.2555, allocations: 329 kB / 450.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2556, allocations: 3.938 kB / 450.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001192/0.2568, allocations: 353.2 kB / 451 MB, free: 12.83 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.2568, allocations: 4 kB / 451 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2568, allocations: 4 kB / 451 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.2568, allocations: 0 / 451 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/0.2572, allocations: 83.86 kB / 451.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.2573, allocations: 0 / 451.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.2575, allocations: 27.95 kB / 451.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/0.2575, allocations: 23.92 kB / 451.1 MB, free: 12.69 MB / 334.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 (23): * Single equations (assignments): 23 * 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.0001113/0.2576, allocations: 121.8 kB / 451.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.2577, allocations: 7.906 kB / 451.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/0.2592, allocations: 433.8 kB / 451.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.2592, allocations: 4 kB / 451.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.2592, allocations: 0 / 451.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.2592, allocations: 0 / 451.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/0.2615, allocations: 0.7882 MB / 452.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2615, allocations: 3.938 kB / 452.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.2618, allocations: 75.88 kB / 452.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.2618, allocations: 4 kB / 452.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.2619, allocations: 7.984 kB / 452.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2619, allocations: 4 kB / 452.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2619, allocations: 0 / 452.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.263, allocations: 433 kB / 453 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.2631, allocations: 85.02 kB / 453.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.2632, allocations: 8 kB / 453.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.2633, allocations: 31.89 kB / 453.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.2634, allocations: 11.98 kB / 453.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.2634, allocations: 11.98 kB / 453.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.579e-05/0.2634, allocations: 87.28 kB / 453.2 MB, free: 10.47 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2635, allocations: 0 / 453.2 MB, free: 10.47 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001725/0.2652, allocations: 0.6249 MB / 453.8 MB, free: 9.848 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.003372/0.2686, allocations: 295 kB / 454.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008359/0.2694, allocations: 275.6 kB / 454.4 MB, free: 9.277 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.2694, allocations: 0 / 454.4 MB, free: 9.277 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003504/0.2698, allocations: 124 kB / 454.5 MB, free: 9.156 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.2701, allocations: 17.2 kB / 454.5 MB, free: 9.141 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009746/0.271, allocations: 357.6 kB / 454.9 MB, free: 8.754 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.2713, allocations: 0.697 MB / 455.6 MB, free: 8.027 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.2715, allocations: 39.41 kB / 455.6 MB, free: 7.988 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2715, allocations: 0 / 455.6 MB, free: 7.988 MB / 334.1 MB Notification: Performance of Templates: time 0.02175/0.2932, allocations: 14.17 MB / 469.8 MB, free: 9.816 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches