Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.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_4.0.0_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_4.0.0_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.001055/0.001055, allocations: 109.3 kB / 18.39 MB, free: 4.629 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.001083/0.001083, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.307/1.307, allocations: 222.9 MB / 243 MB, free: 15.16 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.1979/0.1979, allocations: 44.18 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 74.8 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.108, allocations: 60.82 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.002138/0.1102, allocations: 0.5299 MB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007649/0.111, allocations: 409.2 kB / 471.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.214e-05/0.1111, allocations: 0 / 471.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.152e-05/0.1111, allocations: 7.938 kB / 471.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.334e-05/0.1112, allocations: 0 / 471.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006533/0.1118, allocations: 143.5 kB / 471.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.854e-05/0.1119, allocations: 27.97 kB / 471.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.09e-05/0.112, allocations: 7.938 kB / 471.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.91e-05/0.112, allocations: 19.92 kB / 471.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.848e-05/0.1121, allocations: 15.92 kB / 471.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.1121, allocations: 4 kB / 471.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003099/0.1124, allocations: 167.8 kB / 472 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.1124, allocations: 11.92 kB / 472 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.1125, allocations: 15.92 kB / 472 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.1127, allocations: 131.6 kB / 472.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1127, allocations: 0 / 472.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1127, allocations: 0 / 472.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.1128, allocations: 0 / 472.2 MB, free: 12.2 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005178/0.1133, allocations: 359.6 kB / 472.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.1133, allocations: 8.031 kB / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.1134, allocations: 8.844 kB / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.1135, allocations: 168.3 kB / 472.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.1136, allocations: 8.375 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.1136, allocations: 4.375 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.1138, allocations: 73.28 kB / 472.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.1139, allocations: 15.84 kB / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1139, allocations: 0 / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1139, allocations: 0 / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.114, allocations: 43.95 kB / 472.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.1142, allocations: 173.7 kB / 473 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.1144, allocations: 86.48 kB / 473.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.766e-05/0.1145, allocations: 32.84 kB / 473.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003157/0.1148, allocations: 101.1 kB / 473.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.1148, allocations: 38.5 kB / 473.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.1148, allocations: 4 kB / 473.3 MB, free: 10.92 MB / 350.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.1831/0.298, allocations: 5.615 MB / 478.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.2981, allocations: 51.41 kB / 478.9 MB, free: 5.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.2982, allocations: 97.86 kB / 479 MB, free: 5.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.547e-05/0.2983, allocations: 29.7 kB / 479.1 MB, free: 5.062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.2983, allocations: 80.52 kB / 479.1 MB, free: 4.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.2985, allocations: 78.84 kB / 479.2 MB, free: 4.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.2987, allocations: 61.67 kB / 479.3 MB, free: 4.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.2988, allocations: 318.8 kB / 479.6 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006352/0.2995, allocations: 116 kB / 479.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006337/0.3001, allocations: 111.5 kB / 479.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002425/0.3026, allocations: 324.5 kB / 480.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3026, allocations: 0 / 480.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00186/0.3045, allocations: 358.8 kB / 480.5 MB, free: 3.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.3045, allocations: 8 kB / 480.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3045, allocations: 0 / 480.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.3046, allocations: 0 / 480.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005769/0.3051, allocations: 91.84 kB / 480.6 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.3052, allocations: 3.938 kB / 480.6 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.3054, allocations: 27.91 kB / 480.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.454e-05/0.3055, allocations: 19.92 kB / 480.6 MB, free: 3.469 MB / 350.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.000175/0.3057, allocations: 117.8 kB / 480.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.227e-05/0.3058, allocations: 7.906 kB / 480.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002411/0.3082, allocations: 429.8 kB / 481.2 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.3082, allocations: 8 kB / 481.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.3082, allocations: 0 / 481.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.3083, allocations: 3.984 kB / 481.2 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00403/0.3123, allocations: 0.7728 MB / 482 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.3123, allocations: 3.938 kB / 482 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000544/0.3129, allocations: 75.86 kB / 482 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.3129, allocations: 0 / 482 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.267e-05/0.313, allocations: 15.98 kB / 482 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/0.313, allocations: 4 kB / 482 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.313, allocations: 0 / 482 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/0.3151, allocations: 423.6 kB / 482.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.959e-05/0.3152, allocations: 92.94 kB / 482.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.3152, allocations: 4 kB / 482.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003255/0.3156, allocations: 27.97 kB / 482.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.3156, allocations: 11.98 kB / 482.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/0.3157, allocations: 15.98 kB / 482.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.527e-05/0.3158, allocations: 83.28 kB / 482.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3158, allocations: 0 / 482.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002448/0.3182, allocations: 0.6288 MB / 483.3 MB, free: 0.6484 MB / 350.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.004977/0.3232, allocations: 291 kB / 483.6 MB, free: 360 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.3247, allocations: 267.5 kB / 483.9 MB, free: 92 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3247, allocations: 0 / 483.9 MB, free: 92 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006876/0.3254, allocations: 132 kB / 484 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.3259, allocations: 15.27 kB / 484 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.3275, allocations: 336.8 kB / 484.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.3279, allocations: 0.697 MB / 485 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004271/0.3283, allocations: 85.02 kB / 485.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.3285, allocations: 43.41 kB / 485.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3286, allocations: 0 / 485.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of Templates: time 0.4638/0.7924, allocations: 53.87 MB / 0.5264 GB, free: 35.4 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches