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.001276/0.001283, allocations: 116.9 kB / 19.13 MB, free: 3.922 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.001382/0.001383, allocations: 210.6 kB / 22.08 MB, free: 0.9727 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.471/1.471, allocations: 227.4 MB / 252.3 MB, free: 64 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.2398/0.2398, allocations: 46.17 MB / 351.8 MB, free: 14.28 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.002271/0.002271, allocations: 76.36 kB / 490.9 MB, free: 28.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1229, allocations: 62.45 MB / 0.5403 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001586/0.1245, allocations: 0.5412 MB / 0.5409 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008026/0.1253, allocations: 407.2 kB / 0.5412 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.995e-05/0.1254, allocations: 0 / 0.5412 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.249e-05/0.1254, allocations: 3.938 kB / 0.5412 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.793e-05/0.1254, allocations: 0 / 0.5412 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.126, allocations: 147.5 kB / 0.5414 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.353e-05/0.1261, allocations: 23.92 kB / 0.5414 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.003e-05/0.1261, allocations: 7.984 kB / 0.5414 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.06e-05/0.1262, allocations: 19.92 kB / 0.5414 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.683e-05/0.1262, allocations: 19.92 kB / 0.5415 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.1263, allocations: 0 / 0.5415 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003068/0.1266, allocations: 159.8 kB / 0.5416 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.1266, allocations: 11.98 kB / 0.5416 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.1266, allocations: 19.86 kB / 0.5416 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.1269, allocations: 127.6 kB / 0.5418 GB, free: 2.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1269, allocations: 8 kB / 0.5418 GB, free: 2.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1269, allocations: 0 / 0.5418 GB, free: 2.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.1269, allocations: 0 / 0.5418 GB, free: 2.773 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.0005171/0.1274, allocations: 363.1 kB / 0.5421 GB, free: 2.371 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1275, allocations: 15.97 kB / 0.5421 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.1275, allocations: 4.891 kB / 0.5421 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.1277, allocations: 168.3 kB / 0.5423 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1277, allocations: 4.375 kB / 0.5423 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.1277, allocations: 4.375 kB / 0.5423 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.1279, allocations: 80.16 kB / 0.5424 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.1279, allocations: 3.938 kB / 0.5424 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1279, allocations: 0 / 0.5424 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.1279, allocations: 4 kB / 0.5424 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.494e-05/0.128, allocations: 47.89 kB / 0.5424 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002022/0.1282, allocations: 169.6 kB / 0.5426 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.1284, allocations: 82.55 kB / 0.5427 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.506e-05/0.1285, allocations: 32.84 kB / 0.5427 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002644/0.1287, allocations: 101.1 kB / 0.5428 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.1288, allocations: 42.48 kB / 0.5428 GB, free: 1.496 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.512e-06/0.1288, allocations: 0 / 0.5428 GB, free: 1.496 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.1341/0.2629, allocations: 5.616 MB / 0.5483 GB, free: 11.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.263, allocations: 59.27 kB / 0.5484 GB, free: 11.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.801e-05/0.2631, allocations: 97.84 kB / 0.5485 GB, free: 11.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.2632, allocations: 25.7 kB / 0.5485 GB, free: 11.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.2632, allocations: 84.52 kB / 0.5486 GB, free: 11.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.95e-05/0.2633, allocations: 83.34 kB / 0.5487 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.2634, allocations: 61.67 kB / 0.5487 GB, free: 11.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.2636, allocations: 330.8 kB / 0.549 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/0.264, allocations: 107.9 kB / 0.5491 GB, free: 10.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/0.2644, allocations: 115.9 kB / 0.5493 GB, free: 10.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.2658, allocations: 325 kB / 0.5496 GB, free: 10.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.2658, allocations: 0 / 0.5496 GB, free: 10.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001218/0.267, allocations: 361.2 kB / 0.5499 GB, free: 10.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.2671, allocations: 7.125 kB / 0.5499 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.2671, allocations: 0 / 0.5499 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.2671, allocations: 3.984 kB / 0.5499 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/0.2675, allocations: 79.91 kB / 0.55 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.2675, allocations: 3.938 kB / 0.55 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.2677, allocations: 31.97 kB / 0.55 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.2678, allocations: 15.92 kB / 0.55 GB, free: 10.03 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.0001293/0.2679, allocations: 117.8 kB / 0.5502 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.2679, allocations: 7.953 kB / 0.5502 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/0.2694, allocations: 433.8 kB / 0.5506 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.2694, allocations: 4 kB / 0.5506 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2694, allocations: 0 / 0.5506 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.2694, allocations: 0 / 0.5506 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/0.2717, allocations: 0.7845 MB / 0.5513 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.2718, allocations: 3.938 kB / 0.5513 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/0.272, allocations: 75.94 kB / 0.5514 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.2721, allocations: 7.984 kB / 0.5514 GB, free: 8.527 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.2721, allocations: 15.94 kB / 0.5514 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.2721, allocations: 0 / 0.5514 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.2721, allocations: 3.984 kB / 0.5514 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.2733, allocations: 429 kB / 0.5519 GB, free: 8.066 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.2734, allocations: 81.06 kB / 0.5519 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.2734, allocations: 11.92 kB / 0.5519 GB, free: 7.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.2736, allocations: 27.97 kB / 0.552 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.2737, allocations: 19.92 kB / 0.552 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.2737, allocations: 15.98 kB / 0.552 GB, free: 7.895 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.332e-05/0.2738, allocations: 75.28 kB / 0.5521 GB, free: 7.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2738, allocations: 0 / 0.5521 GB, free: 7.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001699/0.2755, allocations: 0.6324 MB / 0.5527 GB, free: 7.188 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.002967/0.2784, allocations: 290.7 kB / 0.553 GB, free: 6.895 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000866/0.2793, allocations: 267.5 kB / 0.5532 GB, free: 6.633 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.2793, allocations: 0 / 0.5532 GB, free: 6.633 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003755/0.2797, allocations: 127.8 kB / 0.5533 GB, free: 6.508 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.28, allocations: 12 kB / 0.5534 GB, free: 6.496 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.281, allocations: 357.1 kB / 0.5537 GB, free: 6.102 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.2814, allocations: 0.697 MB / 0.5544 GB, free: 5.375 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.2815, allocations: 43.41 kB / 0.5544 GB, free: 5.332 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2815, allocations: 0 / 0.5544 GB, free: 5.332 MB / 414.1 MB Notification: Performance of Templates: time 0.02346/0.305, allocations: 14.15 MB / 0.5682 GB, free: 7.195 MB / 430.1 MB " [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.336265831952915]