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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009352/0.0009352, allocations: 83.69 kB / 20.67 MB, free: 3.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 170 kB / 23.95 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9052/0.9052, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2215/0.2215, allocations: 32.8 MB / 293.5 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 3.938 kB / 439.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.58e-05, allocations: 4.812 kB / 439.6 MB, free: 4.266 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0009974/0.001013, allocations: 0.5284 MB / 440.1 MB, free: 3.738 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005112/0.001524, allocations: 374.9 kB / 440.5 MB, free: 3.367 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.181e-05/0.001546, allocations: 3.938 kB / 440.5 MB, free: 3.363 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.429e-05/0.001561, allocations: 0 / 440.5 MB, free: 3.363 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.149e-05/0.001582, allocations: 3.938 kB / 440.5 MB, free: 3.359 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.001952, allocations: 143.5 kB / 440.6 MB, free: 3.219 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.068e-05/0.002003, allocations: 23.97 kB / 440.6 MB, free: 3.195 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.753e-05/0.00204, allocations: 8 kB / 440.6 MB, free: 3.188 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.671e-05/0.002077, allocations: 23.91 kB / 440.7 MB, free: 3.164 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.416e-05/0.002121, allocations: 19.91 kB / 440.7 MB, free: 3.145 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.002132, allocations: 0 / 440.7 MB, free: 3.145 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.0023, allocations: 135.8 kB / 440.8 MB, free: 3.012 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.002315, allocations: 15.91 kB / 440.8 MB, free: 2.996 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.002339, allocations: 8 kB / 440.8 MB, free: 2.988 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.002507, allocations: 151.6 kB / 441 MB, free: 2.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.002509, allocations: 0 / 441 MB, free: 2.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.00251, allocations: 0 / 441 MB, free: 2.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.002514, allocations: 0 / 441 MB, free: 2.84 MB / 410.7 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.0002939/0.002807, allocations: 294 kB / 441.3 MB, free: 2.523 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.002846, allocations: 12.03 kB / 441.3 MB, free: 2.512 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.784e-05/0.002874, allocations: 34.75 kB / 441.3 MB, free: 2.469 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.245e-05/0.002896, allocations: 8.891 kB / 441.3 MB, free: 2.461 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.241e-05/0.002969, allocations: 113.7 kB / 441.4 MB, free: 2.324 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.002979, allocations: 4.375 kB / 441.5 MB, free: 2.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.003, allocations: 8.375 kB / 441.5 MB, free: 2.312 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.886e-05/0.003099, allocations: 58.23 kB / 441.5 MB, free: 2.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.00311, allocations: 4.188 kB / 441.5 MB, free: 2.246 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.003119, allocations: 4.375 kB / 441.5 MB, free: 2.242 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.003125, allocations: 7.938 kB / 441.5 MB, free: 2.234 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.564e-05/0.003191, allocations: 47.89 kB / 441.6 MB, free: 2.188 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001323/0.003323, allocations: 140.7 kB / 441.7 MB, free: 2.008 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.686e-05/0.00342, allocations: 90.42 kB / 441.8 MB, free: 1.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.289e-05/0.003453, allocations: 24.84 kB / 441.8 MB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001569/0.00361, allocations: 27.97 kB / 441.9 MB, free: 1.855 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.003627, allocations: 30.56 kB / 441.9 MB, free: 1.816 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 9.62e-07/0.003628, allocations: 0 / 441.9 MB, free: 1.816 MB / 410.7 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.2088/0.2124, allocations: 5.618 MB / 447.5 MB, free: 45.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.2125, allocations: 54.25 kB / 447.6 MB, free: 45.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.688e-05/0.2125, allocations: 91.17 kB / 447.6 MB, free: 45.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.2125, allocations: 31.14 kB / 447.7 MB, free: 45.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.255e-06/0.2125, allocations: 81.14 kB / 447.8 MB, free: 45.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.2126, allocations: 82.42 kB / 447.8 MB, free: 45.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.29e-05/0.2126, allocations: 60.17 kB / 447.9 MB, free: 45.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.914e-05/0.2127, allocations: 324.1 kB / 448.2 MB, free: 45.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.2128, allocations: 115.5 kB / 448.3 MB, free: 45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.213, allocations: 114.1 kB / 448.4 MB, free: 45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006718/0.2137, allocations: 328.2 kB / 448.8 MB, free: 44.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2137, allocations: 0 / 448.8 MB, free: 44.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005798/0.2143, allocations: 356.1 kB / 449.1 MB, free: 44.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.2143, allocations: 8.859 kB / 449.1 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2143, allocations: 3.203 kB / 449.1 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.2143, allocations: 2.875 kB / 449.1 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.2145, allocations: 80.44 kB / 449.2 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2145, allocations: 6.719 kB / 449.2 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.166e-05/0.2146, allocations: 25.55 kB / 449.2 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.2146, allocations: 15.39 kB / 449.2 MB, free: 44.93 MB / 410.7 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 5.904e-05/0.2146, allocations: 123.9 kB / 449.4 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.2147, allocations: 6.703 kB / 449.4 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006859/0.2153, allocations: 440.3 kB / 449.8 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2153, allocations: 2.844 kB / 449.8 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2154, allocations: 0 / 449.8 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.2154, allocations: 3.375 kB / 449.8 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.2164, allocations: 0.7319 MB / 450.5 MB, free: 44.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2164, allocations: 0 / 450.5 MB, free: 44.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.2165, allocations: 77.67 kB / 450.6 MB, free: 44.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2165, allocations: 7.031 kB / 450.6 MB, free: 44.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.2166, allocations: 9.547 kB / 450.6 MB, free: 44.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2166, allocations: 6.375 kB / 450.6 MB, free: 44.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2166, allocations: 0 / 450.6 MB, free: 44.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005367/0.2171, allocations: 425.5 kB / 451.1 MB, free: 44.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-06/0.2171, allocations: 14.14 kB / 451.1 MB, free: 44.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.2171, allocations: 0 / 451.1 MB, free: 44.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.963e-05/0.2172, allocations: 33.45 kB / 451.1 MB, free: 44.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/0.2172, allocations: 17.03 kB / 451.1 MB, free: 44.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.2172, allocations: 13.09 kB / 451.1 MB, free: 44.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.1e-05/0.2173, allocations: 75.28 kB / 451.2 MB, free: 44.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2173, allocations: 0 / 451.2 MB, free: 44.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009526/0.2182, allocations: 0.6351 MB / 451.8 MB, free: 44 MB / 410.7 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.002649/0.2209, allocations: 1.165 MB / 453 MB, free: 43.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003948/0.2213, allocations: 248.2 kB / 453.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2213, allocations: 2.406 kB / 453.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.2214, allocations: 140.6 kB / 453.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.2216, allocations: 11.31 kB / 453.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009799/0.2226, allocations: 428.9 kB / 453.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.582e-05/0.2226, allocations: 83.78 kB / 453.9 MB, free: 42.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.2227, allocations: 78.06 kB / 454 MB, free: 42.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.368e-05/0.2228, allocations: 51.92 kB / 454 MB, free: 42.79 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2228, allocations: 0 / 454 MB, free: 42.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0544/0.2772, allocations: 55.95 MB / 0.498 GB, free: 15.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.938/7.215, allocations: 11.03 kB / 0.498 GB, free: 15.39 MB / 410.7 MB " [Timeout remaining time 653] (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 --stepSize=0.0004 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.139594757929444]