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.001065/0.001065, allocations: 104.1 kB / 17.64 MB, free: 5.48 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: 192 kB / 18.55 MB, free: 4.566 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.317/1.317, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.1903/0.1903, allocations: 44.19 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 67.78 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09187/0.09326, allocations: 60.83 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001703/0.09499, allocations: 0.5258 MB / 469.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007349/0.09575, allocations: 405.3 kB / 470.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.536e-05/0.09579, allocations: 0 / 470.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.09581, allocations: 7.938 kB / 470.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.96e-05/0.09585, allocations: 0 / 470.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004576/0.09632, allocations: 151 kB / 470.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.935e-05/0.09638, allocations: 19.98 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.916e-05/0.09642, allocations: 4 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.849e-05/0.09646, allocations: 23.91 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.675e-05/0.09651, allocations: 15.94 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.09652, allocations: 0 / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002559/0.09679, allocations: 167.7 kB / 470.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.09681, allocations: 11.94 kB / 470.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.09684, allocations: 19.92 kB / 470.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.09705, allocations: 131.9 kB / 470.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.09706, allocations: 0 / 470.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09707, allocations: 0 / 470.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.09708, allocations: 4 kB / 470.8 MB, free: 12.81 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.0003751/0.09746, allocations: 351.6 kB / 471.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.0975, allocations: 12.03 kB / 471.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/0.09755, allocations: 38.73 kB / 471.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.09759, allocations: 12.84 kB / 471.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.229e-05/0.09769, allocations: 164.3 kB / 471.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.09771, allocations: 16.31 kB / 471.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.09773, allocations: 4.375 kB / 471.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.09785, allocations: 77.95 kB / 471.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.09787, allocations: 3.906 kB / 471.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.09789, allocations: 4 kB / 471.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.0979, allocations: 3.938 kB / 471.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.955e-05/0.09798, allocations: 43.95 kB / 471.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.09814, allocations: 169.7 kB / 471.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.09827, allocations: 86.48 kB / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.319e-05/0.09832, allocations: 32.78 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002371/0.09857, allocations: 105.1 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.0986, allocations: 38.48 kB / 472 MB, free: 11.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.09861, allocations: 4 kB / 472 MB, free: 11.48 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.1402/0.2388, allocations: 5.609 MB / 477.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.2389, allocations: 55.41 kB / 477.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.613e-05/0.239, allocations: 101.8 kB / 477.7 MB, free: 5.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.239, allocations: 29.7 kB / 477.8 MB, free: 5.621 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.239, allocations: 80.52 kB / 477.8 MB, free: 5.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.987e-05/0.2391, allocations: 70.92 kB / 477.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-05/0.2392, allocations: 57.67 kB / 478 MB, free: 5.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.642e-05/0.2393, allocations: 326.8 kB / 478.3 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.2397, allocations: 112 kB / 478.4 MB, free: 4.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.2401, allocations: 115.5 kB / 478.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.2415, allocations: 324.5 kB / 478.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2415, allocations: 0 / 478.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001194/0.2427, allocations: 362.8 kB / 479.2 MB, free: 4.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2427, allocations: 4 kB / 479.2 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2428, allocations: 0 / 479.2 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.2428, allocations: 7.938 kB / 479.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003737/0.2432, allocations: 79.86 kB / 479.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.2432, allocations: 7.984 kB / 479.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.2434, allocations: 27.91 kB / 479.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.2434, allocations: 11.98 kB / 479.3 MB, free: 4.039 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.0001007/0.2435, allocations: 117.8 kB / 479.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.2436, allocations: 7.906 kB / 479.4 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.245, allocations: 437.8 kB / 479.9 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.245, allocations: 0 / 479.9 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.245, allocations: 0 / 479.9 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.245, allocations: 7.938 kB / 479.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/0.2472, allocations: 0.7767 MB / 480.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2472, allocations: 4 kB / 480.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.2475, allocations: 71.88 kB / 480.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.2475, allocations: 4.062 kB / 480.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.2475, allocations: 15.98 kB / 480.7 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.2476, allocations: 4 kB / 480.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2476, allocations: 0 / 480.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.2487, allocations: 431.5 kB / 481.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.2488, allocations: 85.02 kB / 481.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.2488, allocations: 0 / 481.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.249, allocations: 39.95 kB / 481.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.246e-05/0.2491, allocations: 11.98 kB / 481.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.2491, allocations: 19.92 kB / 481.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.585e-05/0.2491, allocations: 79.22 kB / 481.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2491, allocations: 0 / 481.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001544/0.2507, allocations: 0.6289 MB / 482 MB, free: 1.203 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.004472/0.2552, allocations: 1.139 MB / 483.2 MB, free: 28 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008347/0.256, allocations: 279.4 kB / 483.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.256, allocations: 0 / 483.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.2564, allocations: 127.8 kB / 483.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.2566, allocations: 8 kB / 483.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.2584, allocations: 432.8 kB / 484 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.2586, allocations: 0.697 MB / 484.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003023/0.2589, allocations: 77.08 kB / 484.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.2591, allocations: 51.39 kB / 484.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2591, allocations: 4 kB / 484.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3846/0.6436, allocations: 55.01 MB / 0.5272 GB, free: 34.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/11.01, allocations: 5.969 kB / 0.5272 GB, free: 34.51 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