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.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.001582/0.001582, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.00158/0.00158, allocations: 209.9 kB / 23.73 MB, free: 4.41 MB / 14.72 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.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 7.828 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.2209/0.2209, allocations: 44.94 MB / 358.8 MB, free: 6.082 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.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.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 71.88 kB / 0.4935 GB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2914, allocations: 65.47 MB / 0.5574 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001657/0.2931, allocations: 0.5227 MB / 0.558 GB, free: 6.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007822/0.2938, allocations: 378.9 kB / 0.5583 GB, free: 6.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.096e-05/0.2939, allocations: 7.938 kB / 0.5583 GB, free: 6.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.2939, allocations: 4 kB / 0.5583 GB, free: 6.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.687e-05/0.2939, allocations: 3.938 kB / 0.5583 GB, free: 6.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005211/0.2944, allocations: 131.4 kB / 0.5585 GB, free: 6.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.635e-05/0.2945, allocations: 27.86 kB / 0.5585 GB, free: 6.453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.282e-05/0.2946, allocations: 7.969 kB / 0.5585 GB, free: 6.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.622e-05/0.2946, allocations: 15.94 kB / 0.5585 GB, free: 6.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.101e-05/0.2946, allocations: 11.92 kB / 0.5585 GB, free: 6.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.2946, allocations: 4 kB / 0.5585 GB, free: 6.414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002621/0.2949, allocations: 139.8 kB / 0.5587 GB, free: 6.277 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.2949, allocations: 4 kB / 0.5587 GB, free: 6.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.623e-05/0.2949, allocations: 15.92 kB / 0.5587 GB, free: 6.258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.2952, allocations: 126.1 kB / 0.5588 GB, free: 6.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2952, allocations: 0 / 0.5588 GB, free: 6.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2952, allocations: 0 / 0.5588 GB, free: 6.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.2952, allocations: 0 / 0.5588 GB, free: 6.141 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.0004282/0.2956, allocations: 297.9 kB / 0.5591 GB, free: 5.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.2956, allocations: 8.031 kB / 0.5591 GB, free: 5.812 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.2957, allocations: 8.938 kB / 0.5591 GB, free: 5.805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.2958, allocations: 110.5 kB / 0.5592 GB, free: 5.672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.2958, allocations: 384 / 0.5592 GB, free: 5.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.2958, allocations: 8.375 kB / 0.5592 GB, free: 5.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.2959, allocations: 54.17 kB / 0.5593 GB, free: 5.605 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.296, allocations: 3.938 kB / 0.5593 GB, free: 5.602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.296, allocations: 8 kB / 0.5593 GB, free: 5.594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.296, allocations: 0 / 0.5593 GB, free: 5.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.821e-05/0.296, allocations: 23.98 kB / 0.5593 GB, free: 5.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.2962, allocations: 113.3 kB / 0.5594 GB, free: 5.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.2964, allocations: 54.59 kB / 0.5595 GB, free: 5.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.708e-05/0.2965, allocations: 28.84 kB / 0.5595 GB, free: 5.336 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/0.2967, allocations: 31.95 kB / 0.5595 GB, free: 5.305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.2967, allocations: 30.56 kB / 0.5595 GB, free: 5.266 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.2967, allocations: 4 kB / 0.5595 GB, free: 5.262 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.148/0.4447, allocations: 6.386 MB / 0.5658 GB, free: 14.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.4447, allocations: 55.41 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.892e-05/0.4448, allocations: 109.8 kB / 0.5659 GB, free: 14.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.404e-05/0.4449, allocations: 33.7 kB / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.4449, allocations: 80.14 kB / 0.566 GB, free: 14.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.99e-05/0.445, allocations: 67.42 kB / 0.5661 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.4452, allocations: 89.59 kB / 0.5662 GB, free: 14.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.4454, allocations: 322.8 kB / 0.5665 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005901/0.446, allocations: 227.8 kB / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005927/0.4465, allocations: 235.8 kB / 0.5669 GB, free: 13.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002211/0.4488, allocations: 0.558 MB / 0.5675 GB, free: 13.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4488, allocations: 0 / 0.5675 GB, free: 13.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001967/0.4507, allocations: 0.6105 MB / 0.5681 GB, free: 12.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.4507, allocations: 4 kB / 0.5681 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4508, allocations: 0 / 0.5681 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.4508, allocations: 3.984 kB / 0.5681 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006799/0.4514, allocations: 111.8 kB / 0.5682 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.4515, allocations: 11.98 kB / 0.5682 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004346/0.4519, allocations: 19.97 kB / 0.5682 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-05/0.452, allocations: 31.94 kB / 0.5683 GB, free: 12.24 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 (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.000161/0.4521, allocations: 121.8 kB / 0.5684 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.005e-05/0.4522, allocations: 8.203 kB / 0.5684 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.4545, allocations: 0.7409 MB / 0.5691 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.4545, allocations: 3.938 kB / 0.5691 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.4545, allocations: 4 kB / 0.5691 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4545, allocations: 0 / 0.5691 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004126/0.4586, allocations: 1.04 MB / 0.5701 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.4586, allocations: 8.031 kB / 0.5701 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005504/0.4592, allocations: 99.8 kB / 0.5702 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/0.4592, allocations: 7.938 kB / 0.5702 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.252e-05/0.4592, allocations: 23.95 kB / 0.5703 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.4592, allocations: 4.469 kB / 0.5703 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4592, allocations: 0 / 0.5703 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.461, allocations: 0.586 MB / 0.5708 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.418e-05/0.4611, allocations: 15.89 kB / 0.5709 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.52e-05/0.4611, allocations: 4 kB / 0.5709 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004078/0.4615, allocations: 31.89 kB / 0.5709 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.4616, allocations: 11.98 kB / 0.5709 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.197e-05/0.4616, allocations: 35.94 kB / 0.5709 GB, free: 9.398 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.296e-05/0.4617, allocations: 83.28 kB / 0.571 GB, free: 9.316 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4617, allocations: 0 / 0.571 GB, free: 9.316 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001765/0.4634, allocations: 0.648 MB / 0.5716 GB, free: 8.668 MB / 414.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.003332/0.4668, allocations: 294.5 kB / 0.5719 GB, free: 8.367 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.468, allocations: 442.4 kB / 0.5723 GB, free: 7.938 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.468, allocations: 0 / 0.5723 GB, free: 7.938 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005485/0.4686, allocations: 195.7 kB / 0.5725 GB, free: 7.746 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.4689, allocations: 23.38 kB / 0.5726 GB, free: 7.727 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.4712, allocations: 0.5256 MB / 0.5731 GB, free: 7.152 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.5e-05/0.4713, allocations: 75.56 kB / 0.5731 GB, free: 7.055 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004584/0.4718, allocations: 129.2 kB / 0.5733 GB, free: 6.926 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000313/0.4721, allocations: 87.23 kB / 0.5734 GB, free: 6.84 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4721, allocations: 0 / 0.5734 GB, free: 6.84 MB / 414.1 MB Notification: Performance of Templates: time 0.08192/0.554, allocations: 58.43 MB / 0.6304 GB, free: 12.43 MB / 478.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.8592202346771955]