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.001444/0.001444, allocations: 107.6 kB / 17.04 MB, free: 5.809 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.001594/0.001594, allocations: 195 kB / 17.97 MB, free: 5.027 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.365/1.365, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2062/0.2062, allocations: 43.52 MB / 314.7 MB, free: 492 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.0016/0.0016, allocations: 65.12 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09381/0.09543, allocations: 57.79 MB / 442 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001708/0.09717, allocations: 0.5301 MB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006217/0.09782, allocations: 415.2 kB / 442.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.61e-05/0.09786, allocations: 0 / 442.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.467e-05/0.0979, allocations: 3.938 kB / 442.9 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.34e-05/0.09793, allocations: 0 / 442.9 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/0.09839, allocations: 147.5 kB / 443.1 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.716e-05/0.09846, allocations: 23.98 kB / 443.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.09851, allocations: 0 / 443.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.279e-05/0.09853, allocations: 19.92 kB / 443.1 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.859e-05/0.09859, allocations: 23.86 kB / 443.1 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.0986, allocations: 0 / 443.1 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.09884, allocations: 163.8 kB / 443.3 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.09886, allocations: 11.92 kB / 443.3 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.09889, allocations: 19.94 kB / 443.3 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.09909, allocations: 131.7 kB / 443.4 MB, free: 4.699 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.0991, allocations: 3.938 kB / 443.4 MB, free: 4.695 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.09911, allocations: 0 / 443.4 MB, free: 4.695 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.09912, allocations: 0 / 443.4 MB, free: 4.695 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.0003171/0.09944, allocations: 371.3 kB / 443.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.09948, allocations: 8.031 kB / 443.8 MB, free: 4.277 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.09952, allocations: 8.844 kB / 443.8 MB, free: 4.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.641e-05/0.0996, allocations: 164.4 kB / 444 MB, free: 4.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.09962, allocations: 8.375 kB / 444 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.09965, allocations: 8.375 kB / 444 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.09976, allocations: 58.23 kB / 444.1 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.09978, allocations: 3.938 kB / 444.1 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.09979, allocations: 4 kB / 444.1 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.0998, allocations: 0 / 444.1 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.261e-05/0.09988, allocations: 47.89 kB / 444.1 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000141/0.1, allocations: 177.5 kB / 444.3 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.1001, allocations: 86.55 kB / 444.4 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.923e-05/0.1002, allocations: 32.84 kB / 444.4 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002222/0.1004, allocations: 101.1 kB / 444.5 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.321e-05/0.1004, allocations: 30.56 kB / 444.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.1004, allocations: 0 / 444.5 MB, free: 3.43 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.1216/0.2221, allocations: 5.63 MB / 450.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.2222, allocations: 59.27 kB / 450.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.632e-05/0.2222, allocations: 89.86 kB / 450.3 MB, free: 13.6 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.2223, allocations: 33.83 kB / 450.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.539e-05/0.2223, allocations: 84.52 kB / 450.4 MB, free: 13.47 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.78e-05/0.2224, allocations: 70.91 kB / 450.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.937e-05/0.2225, allocations: 57.67 kB / 450.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.957e-05/0.2226, allocations: 326.8 kB / 450.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003179/0.2229, allocations: 111.9 kB / 451 MB, free: 12.9 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/0.2232, allocations: 111.9 kB / 451.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.2246, allocations: 325.1 kB / 451.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2246, allocations: 0 / 451.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001134/0.2257, allocations: 357.1 kB / 451.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2257, allocations: 4 kB / 451.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2258, allocations: 0 / 451.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.2258, allocations: 4 kB / 451.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/0.2262, allocations: 75.91 kB / 451.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.2262, allocations: 4 kB / 451.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.2264, allocations: 27.97 kB / 451.9 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.2264, allocations: 23.91 kB / 451.9 MB, free: 11.98 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 9.824e-05/0.2265, allocations: 121.7 kB / 452 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.2266, allocations: 11.84 kB / 452 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.2279, allocations: 433.8 kB / 452.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.2279, allocations: 0 / 452.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.2279, allocations: 0 / 452.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.2279, allocations: 11.94 kB / 452.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/0.2301, allocations: 0.7765 MB / 453.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2301, allocations: 8 kB / 453.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.2304, allocations: 75.92 kB / 453.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.2304, allocations: 0 / 453.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.2304, allocations: 19.97 kB / 453.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2305, allocations: 0 / 453.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.2305, allocations: 7.938 kB / 453.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.2316, allocations: 433 kB / 453.8 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.2316, allocations: 81.02 kB / 453.8 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.2316, allocations: 8 kB / 453.8 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.2318, allocations: 19.97 kB / 453.9 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.2319, allocations: 15.98 kB / 453.9 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.2319, allocations: 15.98 kB / 453.9 MB, free: 9.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.218e-05/0.2319, allocations: 75.28 kB / 454 MB, free: 9.766 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.232, allocations: 4.094 kB / 454 MB, free: 9.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001485/0.2334, allocations: 0.625 MB / 454.6 MB, free: 9.137 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.003053/0.2365, allocations: 290.9 kB / 454.9 MB, free: 8.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007685/0.2373, allocations: 267.5 kB / 455.1 MB, free: 8.578 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2373, allocations: 0 / 455.1 MB, free: 8.578 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.2376, allocations: 135.8 kB / 455.3 MB, free: 8.445 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.2379, allocations: 21.2 kB / 455.3 MB, free: 8.426 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008859/0.2388, allocations: 328 kB / 455.6 MB, free: 8.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.2391, allocations: 0.6931 MB / 456.3 MB, free: 7.348 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000226/0.2393, allocations: 85.08 kB / 456.4 MB, free: 7.266 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.2394, allocations: 43.39 kB / 456.4 MB, free: 7.223 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2395, allocations: 0 / 456.4 MB, free: 7.223 MB / 334.1 MB Notification: Performance of Templates: time 0.06266/0.3021, allocations: 53.87 MB / 0.4984 GB, free: 1.176 MB / 382.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 -s cvode -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