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: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 108.3 kB / 17.21 MB, free: 6.289 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.001204/0.001204, allocations: 194 kB / 18.12 MB, free: 5.383 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.342/1.342, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2078/0.2078, allocations: 44.17 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 68.48 kB / 407.8 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1115, allocations: 60.82 MB / 468.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001995/0.1136, allocations: 0.5955 MB / 469.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000835/0.1144, allocations: 441.3 kB / 469.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.938e-05/0.1145, allocations: 0 / 469.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.625e-05/0.1145, allocations: 4 kB / 469.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.641e-05/0.1146, allocations: 0 / 469.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.115, allocations: 99.77 kB / 469.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.569e-05/0.1151, allocations: 23.97 kB / 469.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.1151, allocations: 4 kB / 469.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.533e-05/0.1151, allocations: 15.94 kB / 469.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.685e-05/0.1152, allocations: 23.91 kB / 469.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.1152, allocations: 0 / 469.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002719/0.1155, allocations: 167.7 kB / 470 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.1155, allocations: 11.98 kB / 470 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.43e-05/0.1156, allocations: 15.88 kB / 470 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.1158, allocations: 127.8 kB / 470.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1158, allocations: 0 / 470.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1158, allocations: 0 / 470.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.1158, allocations: 0 / 470.1 MB, free: 13.25 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.0004266/0.1163, allocations: 359.8 kB / 470.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.1163, allocations: 11.97 kB / 470.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.435e-05/0.1164, allocations: 38.75 kB / 470.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.1164, allocations: 16.83 kB / 470.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.1166, allocations: 168.3 kB / 470.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1166, allocations: 4.375 kB / 470.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.1166, allocations: 12.38 kB / 470.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.1167, allocations: 61.98 kB / 470.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.1168, allocations: 3.906 kB / 470.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1168, allocations: 3.984 kB / 470.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1168, allocations: 4 kB / 470.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.039e-05/0.1169, allocations: 47.91 kB / 470.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001822/0.1171, allocations: 173.7 kB / 471 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.1172, allocations: 90.47 kB / 471.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.155e-05/0.1173, allocations: 28.84 kB / 471.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002755/0.1176, allocations: 105.1 kB / 471.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.1176, allocations: 34.5 kB / 471.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.425e-06/0.1176, allocations: 7.984 kB / 471.3 MB, free: 11.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.1304/0.2481, allocations: 5.609 MB / 476.9 MB, free: 6.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.2481, allocations: 63.34 kB / 477 MB, free: 6.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.273e-05/0.2482, allocations: 93.86 kB / 477 MB, free: 6.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.2483, allocations: 25.7 kB / 477.1 MB, free: 6.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.001e-05/0.2483, allocations: 88.52 kB / 477.2 MB, free: 5.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.887e-05/0.2484, allocations: 78.83 kB / 477.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.2485, allocations: 57.67 kB / 477.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2486, allocations: 326.8 kB / 477.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003562/0.249, allocations: 112 kB / 477.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.2493, allocations: 113.3 kB / 477.8 MB, free: 5.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.2508, allocations: 324 kB / 478.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2508, allocations: 4 kB / 478.2 MB, free: 4.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001206/0.252, allocations: 349.2 kB / 478.5 MB, free: 4.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.252, allocations: 11.92 kB / 478.5 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.252, allocations: 3.938 kB / 478.5 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.2521, allocations: 0 / 478.5 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.2525, allocations: 79.92 kB / 478.6 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2525, allocations: 0 / 478.6 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.2527, allocations: 31.91 kB / 478.6 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.2527, allocations: 15.97 kB / 478.6 MB, free: 4.477 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.0001145/0.2529, allocations: 121.8 kB / 478.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.2529, allocations: 11.91 kB / 478.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.2544, allocations: 433.8 kB / 479.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2544, allocations: 0 / 479.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2544, allocations: 0 / 479.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.2544, allocations: 3.938 kB / 479.2 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002211/0.2566, allocations: 0.7728 MB / 480 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2566, allocations: 0 / 480 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/0.2569, allocations: 75.92 kB / 480 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.257, allocations: 8 kB / 480 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.152e-05/0.257, allocations: 15.98 kB / 480.1 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.257, allocations: 0 / 480.1 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.257, allocations: 4 kB / 480.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.2582, allocations: 431.5 kB / 480.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.2583, allocations: 85.02 kB / 480.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.2583, allocations: 4 kB / 480.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.2585, allocations: 23.97 kB / 480.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.2586, allocations: 19.97 kB / 480.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.2586, allocations: 12 kB / 480.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.794e-05/0.2586, allocations: 83.2 kB / 480.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2586, allocations: 0 / 480.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001812/0.2604, allocations: 0.6288 MB / 481.3 MB, free: 1.648 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.004973/0.2654, allocations: 1.148 MB / 482.5 MB, free: 476 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008088/0.2663, allocations: 263 kB / 482.7 MB, free: 216 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.2663, allocations: 0 / 482.7 MB, free: 216 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003468/0.2666, allocations: 137.6 kB / 482.9 MB, free: 80 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.2669, allocations: 12 kB / 482.9 MB, free: 68 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.2689, allocations: 458.8 kB / 483.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.2692, allocations: 0.6933 MB / 484 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00032/0.2695, allocations: 81.08 kB / 484.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.2697, allocations: 59.39 kB / 484.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2697, allocations: 0 / 484.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4894/0.7591, allocations: 54.78 MB / 0.5263 GB, free: 34.91 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/0.7594, allocations: 222.2 kB / 0.5265 GB, free: 34.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.096/2.856, allocations: 2.906 kB / 0.5265 GB, free: 34.65 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > 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