Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001274/0.001274, allocations: 125.3 kB / 18.46 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001415/0.001415, allocations: 206.5 kB / 21.41 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 251.6 MB, free: 48 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2322/0.2322, allocations: 46.16 MB / 351.1 MB, free: 14.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 77.23 kB / 490.2 MB, free: 27.8 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1261, allocations: 62.45 MB / 0.5397 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001822/0.1279, allocations: 0.5334 MB / 0.5402 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008593/0.1288, allocations: 411.2 kB / 0.5406 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.361e-05/0.1289, allocations: 0 / 0.5406 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.987e-05/0.1289, allocations: 3.938 kB / 0.5406 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.901e-05/0.1289, allocations: 0 / 0.5406 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005433/0.1295, allocations: 143.5 kB / 0.5407 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.754e-05/0.1296, allocations: 27.92 kB / 0.5407 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.878e-05/0.1296, allocations: 7.984 kB / 0.5408 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.845e-05/0.1297, allocations: 15.92 kB / 0.5408 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.34e-05/0.1297, allocations: 19.86 kB / 0.5408 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.1298, allocations: 4 kB / 0.5408 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003049/0.1301, allocations: 167.8 kB / 0.541 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.1301, allocations: 11.97 kB / 0.541 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.1301, allocations: 15.88 kB / 0.541 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.1304, allocations: 131.6 kB / 0.5411 GB, free: 2.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1304, allocations: 0 / 0.5411 GB, free: 2.762 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.1304, allocations: 0 / 0.5411 GB, free: 2.762 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.1304, allocations: 0 / 0.5411 GB, free: 2.762 MB / 398.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.0005292/0.1309, allocations: 370.1 kB / 0.5415 GB, free: 2.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.131, allocations: 8.031 kB / 0.5415 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.1311, allocations: 8.891 kB / 0.5415 GB, free: 2.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.1312, allocations: 168.3 kB / 0.5416 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1312, allocations: 4.375 kB / 0.5416 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.1312, allocations: 8.375 kB / 0.5416 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.1314, allocations: 71.97 kB / 0.5417 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.1314, allocations: 3.938 kB / 0.5417 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.1314, allocations: 11.92 kB / 0.5417 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1315, allocations: 0 / 0.5417 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.255e-05/0.1315, allocations: 47.95 kB / 0.5418 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.1318, allocations: 169.6 kB / 0.5419 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.1319, allocations: 86.48 kB / 0.542 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.13e-05/0.132, allocations: 36.84 kB / 0.5421 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002569/0.1322, allocations: 101.1 kB / 0.5422 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.1323, allocations: 34.56 kB / 0.5422 GB, free: 1.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.1323, allocations: 0 / 0.5422 GB, free: 1.48 MB / 398.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.1285/0.2608, allocations: 5.619 MB / 0.5477 GB, free: 11.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.2609, allocations: 63.25 kB / 0.5477 GB, free: 11.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.261, allocations: 89.86 kB / 0.5478 GB, free: 11.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.261, allocations: 33.64 kB / 0.5479 GB, free: 11.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.2611, allocations: 80.64 kB / 0.5479 GB, free: 11.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.895e-05/0.2612, allocations: 79.28 kB / 0.548 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.2613, allocations: 61.67 kB / 0.5481 GB, free: 11.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2615, allocations: 326.8 kB / 0.5484 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.2618, allocations: 111.9 kB / 0.5485 GB, free: 10.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.2622, allocations: 123.8 kB / 0.5486 GB, free: 10.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.2636, allocations: 321 kB / 0.5489 GB, free: 10.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2636, allocations: 0 / 0.5489 GB, free: 10.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001168/0.2647, allocations: 353.2 kB / 0.5492 GB, free: 10.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.2648, allocations: 8 kB / 0.5492 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2648, allocations: 0 / 0.5492 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.2648, allocations: 0 / 0.5492 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/0.2652, allocations: 91.84 kB / 0.5493 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2652, allocations: 0 / 0.5493 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.2654, allocations: 23.97 kB / 0.5494 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.2655, allocations: 23.92 kB / 0.5494 GB, free: 10.02 MB / 414.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.0001204/0.2656, allocations: 121.8 kB / 0.5495 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.2656, allocations: 11.89 kB / 0.5495 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.267, allocations: 421.8 kB / 0.5499 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.2671, allocations: 4 kB / 0.5499 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2671, allocations: 0 / 0.5499 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.2671, allocations: 3.984 kB / 0.5499 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.2693, allocations: 0.7838 MB / 0.5507 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.2693, allocations: 3.938 kB / 0.5507 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002821/0.2696, allocations: 83.92 kB / 0.5508 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.2696, allocations: 4 kB / 0.5508 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.2696, allocations: 8 kB / 0.5508 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.2697, allocations: 3.984 kB / 0.5508 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2697, allocations: 0 / 0.5508 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.2708, allocations: 432.9 kB / 0.5512 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.525e-05/0.2709, allocations: 85.06 kB / 0.5513 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.271, allocations: 15.98 kB / 0.5513 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.2711, allocations: 23.97 kB / 0.5513 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.2712, allocations: 11.98 kB / 0.5513 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.2712, allocations: 19.98 kB / 0.5513 GB, free: 7.883 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.983e-05/0.2713, allocations: 79.28 kB / 0.5514 GB, free: 7.805 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2713, allocations: 0 / 0.5514 GB, free: 7.805 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001664/0.2729, allocations: 0.6245 MB / 0.552 GB, free: 7.18 MB / 414.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.002839/0.2758, allocations: 298.6 kB / 0.5523 GB, free: 6.879 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008567/0.2766, allocations: 267.5 kB / 0.5526 GB, free: 6.617 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.2767, allocations: 0 / 0.5526 GB, free: 6.617 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003571/0.277, allocations: 127.8 kB / 0.5527 GB, free: 6.492 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.2773, allocations: 8 kB / 0.5527 GB, free: 6.484 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.2783, allocations: 331.3 kB / 0.553 GB, free: 6.121 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.2787, allocations: 0.7009 MB / 0.5537 GB, free: 5.391 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002278/0.2789, allocations: 69.09 kB / 0.5538 GB, free: 5.324 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.2791, allocations: 51.39 kB / 0.5538 GB, free: 5.273 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2791, allocations: 0 / 0.5538 GB, free: 5.273 MB / 414.1 MB Notification: Performance of Templates: time 0.3565/0.6356, allocations: 53.87 MB / 0.6064 GB, free: 65.45 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.735066396184266]