Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002067/0.002067, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.00156/0.00156, allocations: 212.9 kB / 23.74 MB, free: 4.656 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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.2637/0.2637, allocations: 46.95 MB / 360.9 MB, free: 4.379 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+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.1.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.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 75.89 kB / 0.4966 GB, free: 7.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2881, allocations: 66.03 MB / 0.5611 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001604/0.2897, allocations: 0.5343 MB / 0.5616 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008081/0.2905, allocations: 406.8 kB / 0.562 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.95e-05/0.2905, allocations: 0 / 0.562 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.006e-05/0.2905, allocations: 3.938 kB / 0.562 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.488e-05/0.2906, allocations: 7.938 kB / 0.562 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.2911, allocations: 139.4 kB / 0.5622 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.257e-05/0.2911, allocations: 27.92 kB / 0.5622 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.165e-05/0.2912, allocations: 7.922 kB / 0.5622 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.517e-05/0.2912, allocations: 15.94 kB / 0.5622 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.71e-05/0.2913, allocations: 19.91 kB / 0.5622 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.2913, allocations: 0 / 0.5622 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002697/0.2915, allocations: 155.8 kB / 0.5624 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.2915, allocations: 11.98 kB / 0.5624 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.878e-05/0.2916, allocations: 15.88 kB / 0.5624 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.2918, allocations: 126.2 kB / 0.5625 GB, free: 3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2918, allocations: 0 / 0.5625 GB, free: 3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2918, allocations: 3.938 kB / 0.5625 GB, free: 2.996 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.2918, allocations: 3.938 kB / 0.5626 GB, free: 2.992 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.0004505/0.2923, allocations: 297.9 kB / 0.5628 GB, free: 2.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.2923, allocations: 8.031 kB / 0.5628 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.2923, allocations: 4.938 kB / 0.5628 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.2924, allocations: 110.5 kB / 0.563 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.2924, allocations: 8.375 kB / 0.563 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.2925, allocations: 4.375 kB / 0.563 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.2926, allocations: 58.17 kB / 0.563 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.2926, allocations: 7.875 kB / 0.563 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.2926, allocations: 0 / 0.563 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2926, allocations: 4 kB / 0.563 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.104e-05/0.2927, allocations: 31.98 kB / 0.5631 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.2929, allocations: 136.7 kB / 0.5632 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.2931, allocations: 50.59 kB / 0.5632 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.2931, allocations: 28.84 kB / 0.5633 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002404/0.2934, allocations: 31.95 kB / 0.5633 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.2934, allocations: 30.56 kB / 0.5633 GB, free: 2.074 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.2934, allocations: 0 / 0.5633 GB, free: 2.074 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.1379/0.4313, allocations: 6.38 MB / 0.5696 GB, free: 11.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.4314, allocations: 51.41 kB / 0.5696 GB, free: 11.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.4315, allocations: 109.8 kB / 0.5697 GB, free: 11.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.572e-05/0.4315, allocations: 30.17 kB / 0.5697 GB, free: 11.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.897e-05/0.4316, allocations: 88.14 kB / 0.5698 GB, free: 11.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.4317, allocations: 67.42 kB / 0.5699 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.4319, allocations: 93.58 kB / 0.57 GB, free: 11.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.4321, allocations: 322.7 kB / 0.5703 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006254/0.4327, allocations: 235.8 kB / 0.5705 GB, free: 10.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005964/0.4333, allocations: 231.8 kB / 0.5707 GB, free: 10.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002237/0.4355, allocations: 0.5573 MB / 0.5713 GB, free: 9.844 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.4355, allocations: 0 / 0.5713 GB, free: 9.844 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001974/0.4375, allocations: 0.6121 MB / 0.5719 GB, free: 9.227 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.4375, allocations: 4 kB / 0.5719 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.4375, allocations: 0 / 0.5719 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.4376, allocations: 4 kB / 0.5719 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000725/0.4383, allocations: 107.8 kB / 0.572 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.4383, allocations: 3.938 kB / 0.572 GB, free: 9.109 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/0.4388, allocations: 27.95 kB / 0.572 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.446e-05/0.4388, allocations: 27.95 kB / 0.572 GB, free: 9.055 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.0001583/0.439, allocations: 125.8 kB / 0.5722 GB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.325e-05/0.439, allocations: 7.953 kB / 0.5722 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.4413, allocations: 0.7318 MB / 0.5729 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4413, allocations: 4 kB / 0.5729 GB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4413, allocations: 0 / 0.5729 GB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.4413, allocations: 0 / 0.5729 GB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004378/0.4457, allocations: 1.121 MB / 0.574 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.4457, allocations: 0 / 0.574 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005792/0.4463, allocations: 99.8 kB / 0.5741 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.4463, allocations: 0 / 0.5741 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.525e-05/0.4463, allocations: 36.14 kB / 0.5741 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.4464, allocations: 4 kB / 0.5741 GB, free: 6.848 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4464, allocations: 256 / 0.5741 GB, free: 6.848 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.4482, allocations: 0.5849 MB / 0.5747 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.4482, allocations: 11.94 kB / 0.5747 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.41e-05/0.4482, allocations: 12 kB / 0.5747 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004506/0.4487, allocations: 27.95 kB / 0.5747 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.4487, allocations: 11.98 kB / 0.5748 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-05/0.4488, allocations: 31.94 kB / 0.5748 GB, free: 6.137 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.498e-05/0.4488, allocations: 87.22 kB / 0.5749 GB, free: 6.051 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4488, allocations: 0 / 0.5749 GB, free: 6.051 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001761/0.4506, allocations: 0.6518 MB / 0.5755 GB, free: 5.398 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.003081/0.4537, allocations: 298.5 kB / 0.5758 GB, free: 5.094 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.4549, allocations: 439.5 kB / 0.5762 GB, free: 4.664 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.455, allocations: 0 / 0.5762 GB, free: 4.664 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005723/0.4555, allocations: 199.9 kB / 0.5764 GB, free: 4.469 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.4558, allocations: 8 kB / 0.5764 GB, free: 4.461 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.4584, allocations: 0.5254 MB / 0.5769 GB, free: 3.887 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.4588, allocations: 0.7004 MB / 0.5776 GB, free: 3.156 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004547/0.4593, allocations: 124.9 kB / 0.5777 GB, free: 3.031 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003239/0.4596, allocations: 83.3 kB / 0.5778 GB, free: 2.949 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4596, allocations: 4 kB / 0.5778 GB, free: 2.945 MB / 414.1 MB Notification: Performance of Templates: time 0.08006/0.5397, allocations: 57.62 MB / 0.6341 GB, free: 9.273 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 6.065061802044511]