Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 107.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 188.2 kB / 22.97 MB, free: 5.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 251.6 MB, free: 13.32 MB / 206.1 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.2153/0.2153, allocations: 44.92 MB / 351.6 MB, free: 12.21 MB / 286.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 63.91 kB / 495.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3126, allocations: 64.25 MB / 0.5464 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001707/0.3143, allocations: 0.5421 MB / 0.5469 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008421/0.3151, allocations: 419.1 kB / 0.5473 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.026e-05/0.3152, allocations: 0.8438 kB / 0.5473 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.085e-05/0.3152, allocations: 3.938 kB / 0.5473 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.396e-05/0.3152, allocations: 0 / 0.5473 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.3157, allocations: 136.2 kB / 0.5474 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.754e-05/0.3158, allocations: 32.88 kB / 0.5475 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.3158, allocations: 5.125 kB / 0.5475 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.831e-05/0.3158, allocations: 5.656 kB / 0.5475 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.341e-05/0.3159, allocations: 25.34 kB / 0.5475 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.3159, allocations: 2.156 kB / 0.5475 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002613/0.3162, allocations: 163.2 kB / 0.5477 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.3162, allocations: 6.141 kB / 0.5477 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.424e-05/0.3162, allocations: 15.06 kB / 0.5477 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.3164, allocations: 126 kB / 0.5478 GB, free: 12.17 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3164, allocations: 0 / 0.5478 GB, free: 12.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3164, allocations: 0 / 0.5478 GB, free: 12.17 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3164, allocations: 3.938 kB / 0.5478 GB, free: 12.16 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004654/0.3169, allocations: 370.2 kB / 0.5482 GB, free: 11.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.3169, allocations: 10.78 kB / 0.5482 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.3169, allocations: 6.266 kB / 0.5482 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.3171, allocations: 163.4 kB / 0.5483 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-06/0.3171, allocations: 9.875 kB / 0.5483 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.3171, allocations: 3.25 kB / 0.5483 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.3172, allocations: 54.11 kB / 0.5484 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.3173, allocations: 8.984 kB / 0.5484 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.3173, allocations: 5.312 kB / 0.5484 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3173, allocations: 1.281 kB / 0.5484 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.231e-05/0.3173, allocations: 24.11 kB / 0.5484 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.3175, allocations: 174.6 kB / 0.5486 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.3177, allocations: 46.28 kB / 0.5486 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.064e-05/0.3178, allocations: 28.19 kB / 0.5487 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002682/0.3181, allocations: 116.7 kB / 0.5488 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.3181, allocations: 31.5 kB / 0.5488 GB, free: 11.08 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.183e-06/0.3181, allocations: 1.125 kB / 0.5488 GB, free: 11.08 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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.1289/0.447, allocations: 6.377 MB / 0.555 GB, free: 6.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.447, allocations: 59.34 kB / 0.5551 GB, free: 6.703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.4471, allocations: 101.8 kB / 0.5552 GB, free: 6.594 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.4472, allocations: 29.7 kB / 0.5552 GB, free: 6.559 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.4472, allocations: 88.61 kB / 0.5553 GB, free: 6.469 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.846e-05/0.4473, allocations: 71.41 kB / 0.5554 GB, free: 6.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.4475, allocations: 81.59 kB / 0.5555 GB, free: 6.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.4477, allocations: 322.8 kB / 0.5558 GB, free: 5.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005484/0.4483, allocations: 227.8 kB / 0.556 GB, free: 5.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000551/0.4488, allocations: 239.8 kB / 0.5562 GB, free: 5.531 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002093/0.4509, allocations: 0.5534 MB / 0.5567 GB, free: 4.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.4509, allocations: 4 kB / 0.5568 GB, free: 4.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001836/0.4527, allocations: 0.6027 MB / 0.5573 GB, free: 4.363 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.4528, allocations: 4 kB / 0.5573 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.4528, allocations: 7.938 kB / 0.5574 GB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.4528, allocations: 3.938 kB / 0.5574 GB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006832/0.4535, allocations: 107.8 kB / 0.5575 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.4535, allocations: 0 / 0.5575 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004381/0.4539, allocations: 27.95 kB / 0.5575 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.242e-05/0.454, allocations: 27.95 kB / 0.5575 GB, free: 4.188 MB / 398.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 (19): * Single equations (assignments): 19 * 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.000154/0.4541, allocations: 129.7 kB / 0.5576 GB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.4542, allocations: 7.953 kB / 0.5576 GB, free: 4.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/0.4563, allocations: 0.7302 MB / 0.5584 GB, free: 3.305 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.4564, allocations: 4 kB / 0.5584 GB, free: 3.301 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4564, allocations: 0 / 0.5584 GB, free: 3.301 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4564, allocations: 256 / 0.5584 GB, free: 3.301 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00411/0.4605, allocations: 1.169 MB / 0.5595 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.4605, allocations: 8 kB / 0.5595 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005753/0.4611, allocations: 99.97 kB / 0.5596 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.4611, allocations: 8 kB / 0.5596 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.316e-05/0.4611, allocations: 27.95 kB / 0.5596 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.4611, allocations: 4 kB / 0.5596 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4611, allocations: 3.938 kB / 0.5596 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.4628, allocations: 0.5782 MB / 0.5602 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.097e-05/0.4629, allocations: 85.06 kB / 0.5603 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.5e-05/0.4629, allocations: 12 kB / 0.5603 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004177/0.4634, allocations: 23.95 kB / 0.5603 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.4634, allocations: 19.92 kB / 0.5603 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-05/0.4635, allocations: 27.95 kB / 0.5604 GB, free: 1.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.043e-05/0.4635, allocations: 79.28 kB / 0.5604 GB, free: 1.035 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4635, allocations: 0 / 0.5604 GB, free: 1.035 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001783/0.4653, allocations: 0.6557 MB / 0.5611 GB, free: 388 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.003015/0.4683, allocations: 294.5 kB / 0.5614 GB, free: 80 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.4696, allocations: 437.7 kB / 0.5618 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.4696, allocations: 8 kB / 0.5618 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005285/0.4701, allocations: 199.7 kB / 0.562 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.4704, allocations: 8 kB / 0.562 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/0.4729, allocations: 0.5296 MB / 0.5625 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.4732, allocations: 0.6926 MB / 0.5632 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004378/0.4736, allocations: 128.8 kB / 0.5633 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003032/0.4739, allocations: 91.22 kB / 0.5634 GB, free: 13.93 MB / 414.1 MB Notification: Performance of SimCode: time 1.313e-06/0.4739, allocations: 0 / 0.5634 GB, free: 13.93 MB / 414.1 MB Notification: Performance of Templates: time 0.09126/0.5652, allocations: 57.6 MB / 0.6196 GB, free: 4.285 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.751445229165256]