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.001892/0.001892, allocations: 84.92 kB / 20.68 MB, free: 1.035 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.002246/0.002246, allocations: 164.6 kB / 23.96 MB, free: 4.164 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.444/1.444, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.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.2125/0.2125, allocations: 34.28 MB / 295 MB, free: 14.59 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 1.123e-06/1.123e-06, allocations: 0 / 442.7 MB, free: 5.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.363e-05, allocations: 2.281 kB / 442.7 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001546/0.001569, allocations: 0.5361 MB / 443.2 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007646/0.002334, allocations: 374.8 kB / 443.6 MB, free: 4.523 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.819e-05/0.002362, allocations: 0 / 443.6 MB, free: 4.523 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.436e-05/0.002377, allocations: 3.938 kB / 443.6 MB, free: 4.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.931e-05/0.002416, allocations: 3.938 kB / 443.6 MB, free: 4.516 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000489/0.002905, allocations: 134.2 kB / 443.7 MB, free: 4.387 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.212e-05/0.002967, allocations: 27.91 kB / 443.7 MB, free: 4.359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.003008, allocations: 8 kB / 443.7 MB, free: 4.352 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.917e-05/0.003047, allocations: 23.91 kB / 443.8 MB, free: 4.328 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.969e-05/0.003097, allocations: 11.98 kB / 443.8 MB, free: 4.316 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.003109, allocations: 0 / 443.8 MB, free: 4.316 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002611/0.00337, allocations: 139.7 kB / 443.9 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.815e-05/0.003388, allocations: 11.92 kB / 443.9 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.104e-05/0.003409, allocations: 8 kB / 443.9 MB, free: 4.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.00366, allocations: 151.6 kB / 444.1 MB, free: 4.012 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.003662, allocations: 0 / 444.1 MB, free: 4.012 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.003662, allocations: 0 / 444.1 MB, free: 4.012 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.815e-06/0.003665, allocations: 0 / 444.1 MB, free: 4.012 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.0003876/0.004053, allocations: 294 kB / 444.4 MB, free: 3.695 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.004088, allocations: 8.031 kB / 444.4 MB, free: 3.688 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.004122, allocations: 8.891 kB / 444.4 MB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.004222, allocations: 105.8 kB / 444.5 MB, free: 3.551 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.004236, allocations: 4.375 kB / 444.5 MB, free: 3.547 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.004263, allocations: 8.328 kB / 444.5 MB, free: 3.539 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.004401, allocations: 62.16 kB / 444.6 MB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.004414, allocations: 192 / 444.6 MB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.004423, allocations: 384 / 444.6 MB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.004433, allocations: 8.125 kB / 444.6 MB, free: 3.465 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.264e-05/0.004505, allocations: 31.92 kB / 444.6 MB, free: 3.434 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.004663, allocations: 113.3 kB / 444.7 MB, free: 3.293 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.00489, allocations: 54.59 kB / 444.8 MB, free: 3.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.096e-05/0.004941, allocations: 24.84 kB / 444.8 MB, free: 3.203 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002456/0.005187, allocations: 31.95 kB / 444.8 MB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.005213, allocations: 30.56 kB / 444.8 MB, free: 3.133 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.005214, allocations: 0 / 444.8 MB, free: 3.133 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.3359/0.3411, allocations: 6.379 MB / 451.2 MB, free: 18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.3411, allocations: 53.97 kB / 451.3 MB, free: 17.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.044e-05/0.3412, allocations: 101.9 kB / 451.4 MB, free: 17.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/0.3412, allocations: 31.52 kB / 451.4 MB, free: 17.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.975e-05/0.3413, allocations: 82.19 kB / 451.5 MB, free: 17.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.779e-05/0.3413, allocations: 64.05 kB / 451.6 MB, free: 17.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.3415, allocations: 90 kB / 451.6 MB, free: 17.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.498e-05/0.3416, allocations: 320.2 kB / 452 MB, free: 17.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005669/0.3421, allocations: 229.3 kB / 452.2 MB, free: 17.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005502/0.3427, allocations: 229.8 kB / 452.4 MB, free: 17.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002236/0.3449, allocations: 0.5672 MB / 453 MB, free: 16.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3449, allocations: 0.8438 kB / 453 MB, free: 16.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001943/0.3469, allocations: 0.61 MB / 453.6 MB, free: 16.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3469, allocations: 8 kB / 453.6 MB, free: 16.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3469, allocations: 1.469 kB / 453.6 MB, free: 16.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.3469, allocations: 0.6562 kB / 453.6 MB, free: 16.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006989/0.3476, allocations: 106.2 kB / 453.7 MB, free: 16.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3476, allocations: 1.688 kB / 453.7 MB, free: 16.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004612/0.3481, allocations: 29.11 kB / 453.7 MB, free: 16.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.165e-05/0.3481, allocations: 31.61 kB / 453.8 MB, free: 16.78 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.0001257/0.3483, allocations: 127.1 kB / 453.9 MB, free: 16.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.974e-05/0.3483, allocations: 9.047 kB / 453.9 MB, free: 16.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/0.3506, allocations: 0.7261 MB / 454.6 MB, free: 16.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3506, allocations: 1.25 kB / 454.6 MB, free: 16.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3506, allocations: 1.219 kB / 454.6 MB, free: 16.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.3506, allocations: 2.719 kB / 454.6 MB, free: 16.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004042/0.3546, allocations: 1.047 MB / 455.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3546, allocations: 2.609 kB / 455.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005638/0.3552, allocations: 106.6 kB / 455.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.3552, allocations: 6.406 kB / 455.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.505e-05/0.3552, allocations: 25.52 kB / 455.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3552, allocations: 3.203 kB / 455.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3553, allocations: 1.969 kB / 455.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.357, allocations: 0.5778 MB / 456.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.258e-05/0.357, allocations: 12.28 kB / 456.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.074e-05/0.3571, allocations: 10.83 kB / 456.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004319/0.3575, allocations: 27.59 kB / 456.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.3575, allocations: 16.97 kB / 456.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.926e-05/0.3576, allocations: 35.06 kB / 456.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.378e-05/0.3576, allocations: 82.38 kB / 456.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3576, allocations: 0 / 456.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00171/0.3593, allocations: 0.6509 MB / 457.2 MB, free: 15.54 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.003379/0.3627, allocations: 319.2 kB / 457.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.3639, allocations: 452.8 kB / 458 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3639, allocations: 0 / 458 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005543/0.3645, allocations: 193.8 kB / 458.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.3648, allocations: 14.28 kB / 458.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/0.3672, allocations: 0.5173 MB / 458.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.853e-05/0.3673, allocations: 81.72 kB / 458.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003986/0.3677, allocations: 123 kB / 458.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003526/0.368, allocations: 92.23 kB / 459 MB, free: 14.88 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.368, allocations: 0 / 459 MB, free: 14.88 MB / 366.1 MB Notification: Performance of Templates: time 0.07221/0.4402, allocations: 58.3 MB / 0.5052 GB, free: 12.59 MB / 414.1 MB " [Timeout remaining time 660] 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: 5.902108799666166]