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.001431/0.001431, allocations: 92.31 kB / 20.96 MB, free: 3.465 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.001545/0.001545, allocations: 157.7 kB / 24.27 MB, free: 164 kB / 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 1.539/1.539, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3548/0.3548, allocations: 32.8 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 179] 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: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.109e-05/3.304e-05, allocations: 6.25 kB / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.00157/0.001603, allocations: 0.5392 MB / 375.8 MB, free: 4.449 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008266/0.00243, allocations: 374.8 kB / 376.2 MB, free: 4.078 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.882e-05/0.002458, allocations: 0 / 376.2 MB, free: 4.078 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.002471, allocations: 0 / 376.2 MB, free: 4.078 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.256e-05/0.002504, allocations: 3.938 kB / 376.2 MB, free: 4.074 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/0.003056, allocations: 139.5 kB / 376.3 MB, free: 3.938 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 7.639e-05/0.003133, allocations: 27.91 kB / 376.3 MB, free: 3.91 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.003175, allocations: 12 kB / 376.3 MB, free: 3.898 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.502e-05/0.00322, allocations: 19.91 kB / 376.4 MB, free: 3.879 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.568e-05/0.003286, allocations: 19.92 kB / 376.4 MB, free: 3.859 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.003299, allocations: 0 / 376.4 MB, free: 3.859 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002678/0.003567, allocations: 135.8 kB / 376.5 MB, free: 3.727 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.003585, allocations: 4 kB / 376.5 MB, free: 3.723 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.003625, allocations: 19.91 kB / 376.5 MB, free: 3.703 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.003889, allocations: 151.6 kB / 376.7 MB, free: 3.555 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003891, allocations: 0 / 376.7 MB, free: 3.555 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003892, allocations: 0 / 376.7 MB, free: 3.555 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.003895, allocations: 0 / 376.7 MB, free: 3.555 MB / 346.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.0004999/0.004395, allocations: 301.9 kB / 377 MB, free: 3.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.004432, allocations: 8.031 kB / 377 MB, free: 3.223 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.00448, allocations: 8.938 kB / 377 MB, free: 3.215 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.004594, allocations: 101.8 kB / 377.1 MB, free: 3.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.004612, allocations: 8.375 kB / 377.1 MB, free: 3.082 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.004643, allocations: 12.27 kB / 377.1 MB, free: 3.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.004786, allocations: 62.23 kB / 377.2 MB, free: 3.004 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.004805, allocations: 12.17 kB / 377.2 MB, free: 2.992 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.004815, allocations: 384 / 377.2 MB, free: 2.992 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.004821, allocations: 4.125 kB / 377.2 MB, free: 2.988 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.004925, allocations: 47.97 kB / 377.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.005339, allocations: 121.2 kB / 377.4 MB, free: 2.793 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.005501, allocations: 82.48 kB / 377.4 MB, free: 2.703 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/0.005553, allocations: 24.84 kB / 377.5 MB, free: 2.676 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002449/0.005798, allocations: 27.97 kB / 377.5 MB, free: 2.648 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.005834, allocations: 34.56 kB / 377.5 MB, free: 2.605 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.005835, allocations: 0 / 377.5 MB, free: 2.605 MB / 346.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.1603/0.1662, allocations: 5.626 MB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.1662, allocations: 55.41 kB / 383.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.823e-05/0.1663, allocations: 89.86 kB / 383.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.1664, allocations: 29.7 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.089e-05/0.1664, allocations: 80.64 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.1665, allocations: 83.33 kB / 383.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.1666, allocations: 57.67 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.1668, allocations: 318.8 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/0.1672, allocations: 107.9 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003655/0.1676, allocations: 115.9 kB / 384.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/0.1691, allocations: 331.1 kB / 384.4 MB, free: 11.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1691, allocations: 3.938 kB / 384.4 MB, free: 11.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001352/0.1705, allocations: 365.2 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1705, allocations: 6.188 kB / 384.8 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.1705, allocations: 4 kB / 384.8 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.1705, allocations: 4 kB / 384.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004244/0.171, allocations: 75.91 kB / 384.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.171, allocations: 4 kB / 384.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.1712, allocations: 23.97 kB / 384.9 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.1712, allocations: 15.98 kB / 384.9 MB, free: 11.16 MB / 362.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 0.000139/0.1714, allocations: 125.7 kB / 385 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/0.1714, allocations: 19.95 kB / 385 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001563/0.173, allocations: 428.7 kB / 385.4 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.173, allocations: 4 kB / 385.4 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.173, allocations: 0 / 385.4 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.173, allocations: 7.922 kB / 385.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/0.1755, allocations: 0.706 MB / 386.2 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.1755, allocations: 3.984 kB / 386.2 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/0.1758, allocations: 75.92 kB / 386.2 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.1758, allocations: 0 / 386.2 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.1758, allocations: 11.98 kB / 386.2 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.852e-06/0.1758, allocations: 8.047 kB / 386.3 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/0.1758, allocations: 11.88 kB / 386.3 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.1771, allocations: 420.8 kB / 386.7 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.1772, allocations: 11.95 kB / 386.7 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.1772, allocations: 7.984 kB / 386.7 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.1774, allocations: 27.91 kB / 386.7 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.1774, allocations: 19.97 kB / 386.7 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.1775, allocations: 16 kB / 386.8 MB, free: 9.195 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.341e-05/0.1775, allocations: 79.27 kB / 386.8 MB, free: 9.117 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1775, allocations: 0 / 386.8 MB, free: 9.117 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001789/0.1793, allocations: 0.6246 MB / 387.5 MB, free: 8.492 MB / 362.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.0032/0.1825, allocations: 326.6 kB / 387.8 MB, free: 8.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000873/0.1834, allocations: 251.7 kB / 388 MB, free: 7.914 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1834, allocations: 0 / 388 MB, free: 7.914 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000403/0.1838, allocations: 130.5 kB / 388.2 MB, free: 7.789 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.1841, allocations: 27.98 kB / 388.2 MB, free: 7.762 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.1851, allocations: 334.9 kB / 388.5 MB, free: 7.398 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.266e-05/0.1852, allocations: 79.83 kB / 388.6 MB, free: 7.301 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002593/0.1855, allocations: 77.14 kB / 388.7 MB, free: 7.223 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.1856, allocations: 48.45 kB / 388.7 MB, free: 7.176 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1856, allocations: 0 / 388.7 MB, free: 7.176 MB / 362.7 MB Notification: Performance of Templates: time 0.08156/0.2672, allocations: 54.2 MB / 442.9 MB, free: 0.9219 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] 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: 5.639868961065076]