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.001551/0.001551, allocations: 85.64 kB / 20.68 MB, free: 1.023 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.00165/0.00165, allocations: 166.8 kB / 23.96 MB, free: 4.145 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.375/1.375, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 179] 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.196/0.196, allocations: 32.81 MB / 293.5 MB, free: 24 kB / 270.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: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 440.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.523e-05, allocations: 2.281 kB / 440.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001422/0.001448, allocations: 0.5351 MB / 440.6 MB, free: 7.641 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007748/0.002222, allocations: 374.8 kB / 441 MB, free: 7.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.739e-05/0.00225, allocations: 0 / 441 MB, free: 7.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.927e-05/0.002269, allocations: 7.875 kB / 441 MB, free: 7.262 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.683e-05/0.002296, allocations: 0 / 441 MB, free: 7.262 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004891/0.002785, allocations: 135.5 kB / 441.1 MB, free: 7.129 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.112e-05/0.002836, allocations: 23.92 kB / 441.1 MB, free: 7.105 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.002878, allocations: 4 kB / 441.1 MB, free: 7.102 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.085e-05/0.002918, allocations: 27.91 kB / 441.2 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.439e-05/0.002963, allocations: 7.984 kB / 441.2 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.002977, allocations: 4 kB / 441.2 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002441/0.003221, allocations: 143.7 kB / 441.3 MB, free: 6.922 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.003238, allocations: 7.938 kB / 441.3 MB, free: 6.914 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.783e-05/0.003256, allocations: 4 kB / 441.3 MB, free: 6.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.003497, allocations: 151.6 kB / 441.5 MB, free: 6.762 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.003499, allocations: 0 / 441.5 MB, free: 6.762 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003499, allocations: 0 / 441.5 MB, free: 6.762 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.003502, allocations: 0 / 441.5 MB, free: 6.762 MB / 366.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.0004251/0.003928, allocations: 298 kB / 441.8 MB, free: 6.441 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.003959, allocations: 8.031 kB / 441.8 MB, free: 6.434 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.004002, allocations: 8.891 kB / 441.8 MB, free: 6.426 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.004113, allocations: 109.8 kB / 441.9 MB, free: 6.293 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.004125, allocations: 384 / 441.9 MB, free: 6.293 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.004153, allocations: 12.33 kB / 441.9 MB, free: 6.281 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.004278, allocations: 54.12 kB / 442 MB, free: 6.223 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.00429, allocations: 192 / 442 MB, free: 6.223 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.004302, allocations: 8.375 kB / 442 MB, free: 6.215 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.004308, allocations: 4.125 kB / 442 MB, free: 6.211 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.624e-05/0.004375, allocations: 27.97 kB / 442 MB, free: 6.184 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.004537, allocations: 113.3 kB / 442.1 MB, free: 6.043 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.004753, allocations: 58.56 kB / 442.2 MB, free: 5.977 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.176e-05/0.004804, allocations: 24.86 kB / 442.2 MB, free: 5.949 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002349/0.005039, allocations: 31.89 kB / 442.2 MB, free: 5.918 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.005074, allocations: 34.56 kB / 442.3 MB, free: 5.875 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.005075, allocations: 0 / 442.3 MB, free: 5.875 MB / 366.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.3098/0.3149, allocations: 6.377 MB / 448.6 MB, free: 20.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.3149, allocations: 55 kB / 448.7 MB, free: 20.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.61e-05/0.315, allocations: 102.3 kB / 448.8 MB, free: 20.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.814e-05/0.315, allocations: 30.73 kB / 448.8 MB, free: 20 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.92e-05/0.3151, allocations: 81.89 kB / 448.9 MB, free: 19.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.635e-05/0.3152, allocations: 68.23 kB / 449 MB, free: 19.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.3154, allocations: 88.39 kB / 449.1 MB, free: 19.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.373e-05/0.3154, allocations: 321.8 kB / 449.4 MB, free: 19.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005664/0.316, allocations: 232.3 kB / 449.6 MB, free: 19.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005399/0.3165, allocations: 229.5 kB / 449.8 MB, free: 19.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002143/0.3187, allocations: 0.5582 MB / 450.4 MB, free: 19.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3187, allocations: 0 / 450.4 MB, free: 19.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001862/0.3205, allocations: 0.6106 MB / 451 MB, free: 18.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3205, allocations: 9.531 kB / 451 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3205, allocations: 0 / 451 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3206, allocations: 8.438 kB / 451 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006709/0.3212, allocations: 107.8 kB / 451.1 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3212, allocations: 1.188 kB / 451.1 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/0.3217, allocations: 25.59 kB / 451.1 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.61e-05/0.3218, allocations: 35.23 kB / 451.2 MB, free: 18.98 MB / 366.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.000121/0.3219, allocations: 120.9 kB / 451.3 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.906e-05/0.3219, allocations: 12.34 kB / 451.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002096/0.324, allocations: 0.7262 MB / 452 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.324, allocations: 1.375 kB / 452 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.324, allocations: 1.375 kB / 452 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3241, allocations: 1.266 kB / 452 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003932/0.328, allocations: 1.054 MB / 453.1 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.328, allocations: 2.656 kB / 453.1 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005534/0.3285, allocations: 99 kB / 453.2 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.3285, allocations: 3.203 kB / 453.2 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.177e-05/0.3286, allocations: 24.56 kB / 453.2 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.3286, allocations: 3.578 kB / 453.2 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3286, allocations: 5.766 kB / 453.2 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.3303, allocations: 0.5797 MB / 453.8 MB, free: 17.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.26e-05/0.3303, allocations: 13.14 kB / 453.8 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.891e-05/0.3304, allocations: 4.75 kB / 453.8 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/0.3308, allocations: 31.38 kB / 453.8 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.3308, allocations: 21.66 kB / 453.9 MB, free: 17.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-05/0.3309, allocations: 27.8 kB / 453.9 MB, free: 17.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.226e-05/0.3309, allocations: 85.17 kB / 454 MB, free: 17.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3309, allocations: 0 / 454 MB, free: 17.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001611/0.3325, allocations: 0.656 MB / 454.6 MB, free: 17.76 MB / 366.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.003224/0.3357, allocations: 318.4 kB / 454.9 MB, free: 17.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.3369, allocations: 443.8 kB / 455.4 MB, free: 17.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3369, allocations: 0 / 455.4 MB, free: 17.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000537/0.3375, allocations: 194.5 kB / 455.6 MB, free: 17.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.3377, allocations: 10.36 kB / 455.6 MB, free: 17.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.3401, allocations: 0.5216 MB / 456.1 MB, free: 17.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.424e-05/0.3402, allocations: 82.03 kB / 456.2 MB, free: 17.17 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003834/0.3406, allocations: 130.8 kB / 456.3 MB, free: 17.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/0.3409, allocations: 88.33 kB / 456.4 MB, free: 17.14 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3409, allocations: 0 / 456.4 MB, free: 17.14 MB / 366.1 MB Notification: Performance of Templates: time 0.07232/0.4132, allocations: 58.29 MB / 0.5026 GB, free: 1.707 MB / 398.1 MB " [Timeout remaining time 660] 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.397481173276901]