Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001587/0.001587, allocations: 75.77 kB / 21.18 MB, free: 3.375 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.001591/0.001591, allocations: 165 kB / 24.56 MB, free: 4 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 0.9746/0.9746, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2908/0.2908, allocations: 34.26 MB / 295.7 MB, free: 0.7539 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.031e-05, allocations: 5.969 kB / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.002198/0.002219, allocations: 0.5477 MB / 378.6 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008371/0.003056, allocations: 382.8 kB / 378.9 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.311e-05/0.003089, allocations: 0 / 378.9 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.344e-05/0.003112, allocations: 3.938 kB / 378.9 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.571e-05/0.003138, allocations: 4 kB / 378.9 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005772/0.003715, allocations: 139.4 kB / 379.1 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.972e-05/0.003785, allocations: 27.97 kB / 379.1 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.728e-05/0.003832, allocations: 4 kB / 379.1 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.003877, allocations: 23.91 kB / 379.1 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.693e-05/0.003944, allocations: 15.97 kB / 379.2 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.00396, allocations: 4 kB / 379.2 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002539/0.004214, allocations: 131.8 kB / 379.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.004233, allocations: 15.92 kB / 379.3 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.839e-05/0.004262, allocations: 8 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.004504, allocations: 155.5 kB / 379.5 MB, free: 1.207 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.004509, allocations: 0 / 379.5 MB, free: 1.207 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.00451, allocations: 0 / 379.5 MB, free: 1.207 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.004516, allocations: 0 / 379.5 MB, free: 1.207 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.0004052/0.004921, allocations: 396.3 kB / 379.8 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.004965, allocations: 8.031 kB / 379.9 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.025e-05/0.005015, allocations: 8.875 kB / 379.9 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.131e-05/0.005107, allocations: 108.6 kB / 380 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.005124, allocations: 12.38 kB / 380 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.00516, allocations: 12.31 kB / 380 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.005282, allocations: 54.23 kB / 380 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.005295, allocations: 4.188 kB / 380 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.005309, allocations: 4.375 kB / 380.1 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.005319, allocations: 4.125 kB / 380.1 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.511e-05/0.005394, allocations: 47.52 kB / 380.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.005558, allocations: 132.5 kB / 380.2 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.005685, allocations: 86.97 kB / 380.3 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.333e-05/0.005728, allocations: 27.67 kB / 380.3 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/0.005961, allocations: 39.95 kB / 380.4 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.005987, allocations: 33.39 kB / 380.4 MB, free: 128 kB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.005988, allocations: 0 / 380.4 MB, free: 128 kB / 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.06647/0.07246, allocations: 5.407 MB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.0725, allocations: 59.41 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.721e-05/0.07257, allocations: 153.9 kB / 386 MB, free: 10.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.0726, allocations: 25.7 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.07263, allocations: 131.2 kB / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.572e-05/0.07271, allocations: 83.31 kB / 386.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.547e-05/0.0728, allocations: 63.33 kB / 386.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.07293, allocations: 0.4923 MB / 386.8 MB, free: 9.617 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.07305, allocations: 55.97 kB / 386.9 MB, free: 9.562 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.07316, allocations: 63.95 kB / 386.9 MB, free: 9.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006511/0.07381, allocations: 217.8 kB / 387.2 MB, free: 9.285 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.07381, allocations: 12 kB / 387.2 MB, free: 9.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005712/0.07438, allocations: 257.4 kB / 387.4 MB, free: 9.016 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.0744, allocations: 4 kB / 387.4 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.07441, allocations: 7.984 kB / 387.4 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.07443, allocations: 0 / 387.4 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/0.0747, allocations: 83.84 kB / 387.5 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.07471, allocations: 0 / 387.5 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.07482, allocations: 31.97 kB / 387.5 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.07485, allocations: 15.98 kB / 387.6 MB, free: 8.875 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 9.752e-05/0.07494, allocations: 164.5 kB / 387.7 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.07499, allocations: 23.89 kB / 387.7 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000713/0.0757, allocations: 316.9 kB / 388 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.07571, allocations: 4 kB / 388.1 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.07571, allocations: 0 / 388.1 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.07572, allocations: 0 / 388.1 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.07697, allocations: 0.6749 MB / 388.7 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.07697, allocations: 4.062 kB / 388.7 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.07717, allocations: 79.88 kB / 388.8 MB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.07717, allocations: 4 kB / 388.8 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.0772, allocations: 11.98 kB / 388.8 MB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.0772, allocations: 0 / 388.8 MB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.0772, allocations: 3.938 kB / 388.8 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005531/0.07775, allocations: 390.9 kB / 389.2 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.07777, allocations: 7.953 kB / 389.2 MB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.07779, allocations: 8 kB / 389.2 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.07792, allocations: 31.91 kB / 389.3 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.07794, allocations: 15.97 kB / 389.3 MB, free: 7.066 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.07797, allocations: 15.98 kB / 389.3 MB, free: 7.051 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.546e-05/0.078, allocations: 119.2 kB / 389.4 MB, free: 6.934 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.078, allocations: 0 / 389.4 MB, free: 6.934 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001459/0.07946, allocations: 0.6362 MB / 390 MB, free: 6.297 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.002526/0.08199, allocations: 326.6 kB / 390.4 MB, free: 5.965 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003467/0.08233, allocations: 170.4 kB / 390.5 MB, free: 5.797 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.08234, allocations: 0 / 390.5 MB, free: 5.797 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.08246, allocations: 95.52 kB / 390.6 MB, free: 5.699 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.08273, allocations: 35.02 kB / 390.7 MB, free: 5.668 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005942/0.08332, allocations: 302.1 kB / 390.9 MB, free: 5.332 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.094e-05/0.08337, allocations: 71.84 kB / 391 MB, free: 5.238 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001993/0.08357, allocations: 73.14 kB / 391.1 MB, free: 5.164 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.08369, allocations: 52.45 kB / 391.1 MB, free: 5.113 MB / 362.7 MB Notification: Performance of SimCode: time 7.72e-07/0.08369, allocations: 0 / 391.1 MB, free: 5.113 MB / 362.7 MB Notification: Performance of Templates: time 0.191/0.2747, allocations: 55.29 MB / 446.4 MB, free: 105 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.743342638015747]