Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.001818/0.001818, allocations: 114.3 kB / 21.18 MB, free: 0.6211 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.00217/0.00217, allocations: 210.3 kB / 24.48 MB, free: 4.031 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.446/1.446, allocations: 230.2 MB / 257.8 MB, free: 8.52 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2287/0.2287, allocations: 46.89 MB / 361.1 MB, free: 4.645 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002319/0.002319, allocations: 75.88 kB / 0.4968 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3104, allocations: 65.99 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001625/0.312, allocations: 0.5381 MB / 0.5617 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007578/0.3128, allocations: 410.7 kB / 0.5621 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.862e-05/0.3128, allocations: 0 / 0.5621 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.418e-05/0.3128, allocations: 3.938 kB / 0.5621 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.31e-05/0.3128, allocations: 8 kB / 0.5621 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.3133, allocations: 139.4 kB / 0.5623 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.658e-05/0.3133, allocations: 23.92 kB / 0.5623 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.3134, allocations: 7.969 kB / 0.5623 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.537e-05/0.3134, allocations: 15.94 kB / 0.5623 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.666e-05/0.3135, allocations: 19.91 kB / 0.5623 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.3135, allocations: 0 / 0.5623 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002708/0.3137, allocations: 159.8 kB / 0.5625 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.3138, allocations: 15.98 kB / 0.5625 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.3138, allocations: 15.88 kB / 0.5625 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.314, allocations: 122.6 kB / 0.5626 GB, free: 3.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.314, allocations: 0 / 0.5626 GB, free: 3.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.314, allocations: 0 / 0.5626 GB, free: 3.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.314, allocations: 0 / 0.5626 GB, free: 3.57 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.0004584/0.3145, allocations: 375 kB / 0.563 GB, free: 3.156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.3145, allocations: 8.031 kB / 0.563 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.3145, allocations: 4.938 kB / 0.563 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.3147, allocations: 176.3 kB / 0.5632 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.3147, allocations: 384 / 0.5632 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.3147, allocations: 8.375 kB / 0.5632 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.3148, allocations: 50.23 kB / 0.5632 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.3149, allocations: 7.938 kB / 0.5632 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.3149, allocations: 4 kB / 0.5632 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3149, allocations: 3.938 kB / 0.5632 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.991e-05/0.3149, allocations: 27.92 kB / 0.5633 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.3151, allocations: 169.6 kB / 0.5634 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.3153, allocations: 54.56 kB / 0.5635 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.991e-05/0.3154, allocations: 24.84 kB / 0.5635 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002997/0.3157, allocations: 105.1 kB / 0.5636 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.3157, allocations: 38.78 kB / 0.5636 GB, free: 2.355 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.3157, allocations: 4 kB / 0.5636 GB, free: 2.352 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.1436/0.4594, allocations: 6.383 MB / 0.5699 GB, free: 11.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.4594, allocations: 55.41 kB / 0.5699 GB, free: 11.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.529e-05/0.4595, allocations: 101.8 kB / 0.57 GB, free: 11.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.821e-05/0.4596, allocations: 25.7 kB / 0.57 GB, free: 11.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.4596, allocations: 88.12 kB / 0.5701 GB, free: 11.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.4597, allocations: 63.44 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.4599, allocations: 89.58 kB / 0.5703 GB, free: 11.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4601, allocations: 326.8 kB / 0.5706 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005815/0.4607, allocations: 223.8 kB / 0.5708 GB, free: 10.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005831/0.4612, allocations: 235.8 kB / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002223/0.4635, allocations: 0.5588 MB / 0.5716 GB, free: 10.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4635, allocations: 0 / 0.5716 GB, free: 10.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001955/0.4654, allocations: 0.6182 MB / 0.5722 GB, free: 9.516 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.4654, allocations: 4 kB / 0.5722 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4654, allocations: 0 / 0.5722 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.4655, allocations: 4 kB / 0.5722 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007012/0.4662, allocations: 103.8 kB / 0.5723 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.4662, allocations: 0 / 0.5723 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004535/0.4666, allocations: 27.97 kB / 0.5723 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.528e-05/0.4667, allocations: 31.94 kB / 0.5723 GB, free: 9.348 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.000176/0.4669, allocations: 121.7 kB / 0.5725 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.108e-05/0.4669, allocations: 11.94 kB / 0.5725 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/0.4692, allocations: 0.7284 MB / 0.5732 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4692, allocations: 0 / 0.5732 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4692, allocations: 0 / 0.5732 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.4693, allocations: 85.06 kB / 0.5733 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.814e-05/0.4693, allocations: 3.938 kB / 0.5733 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004632/0.4698, allocations: 31.89 kB / 0.5733 GB, free: 8.336 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.4698, allocations: 11.98 kB / 0.5733 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002466/0.4723, allocations: 0.7371 MB / 0.574 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002028/0.4743, allocations: 0.7639 MB / 0.5748 GB, free: 6.801 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005895/0.4749, allocations: 230.4 kB / 0.575 GB, free: 6.578 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.602e-05/0.475, allocations: 95.45 kB / 0.5751 GB, free: 6.484 MB / 414.1 MB Notification: Performance of Backend: time 5.81e-07/0.475, allocations: 8 kB / 0.5751 GB, free: 6.477 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004135/0.4791, allocations: 0.5393 MB / 0.5756 GB, free: 5.93 MB / 414.1 MB Notification: Performance of SimCode: time 0.0006279/0.4797, allocations: 0.6151 MB / 0.5762 GB, free: 5.266 MB / 414.1 MB Notification: Performance of Templates: time 0.08003/0.5597, allocations: 58.34 MB / 0.6332 GB, free: 10.82 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.652574372943491]