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.001047/0.001047, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001783/0.002831, allocations: 449.8 kB / 10.44 MB, free: 248 kB / 10.45 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.001095/0.001095, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001465/0.002561, allocations: 479.5 kB / 11.82 MB, free: 2.34 MB / 13.93 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 0.9305/0.9305, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07845/1.009, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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.2348/0.2348, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02295/0.2577, allocations: 13.11 MB / 291.5 MB, free: 7.332 MB / 282.7 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.372e-06/1.372e-06, allocations: 0 / 292.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.225e-05, allocations: 4.406 kB / 292.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001233/0.001255, allocations: 0.5961 MB / 293.4 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004548/0.00171, allocations: 387.2 kB / 293.8 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.195e-05/0.001732, allocations: 0 / 293.8 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.172e-06/0.001738, allocations: 3.938 kB / 293.8 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.135e-05/0.001749, allocations: 0 / 293.8 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.002054, allocations: 127.4 kB / 293.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.019e-05/0.002114, allocations: 23.92 kB / 293.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.351e-05/0.002157, allocations: 7.984 kB / 294 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.717e-05/0.002215, allocations: 15.98 kB / 294 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.014e-05/0.002275, allocations: 11.92 kB / 294 MB, free: 5.062 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.002288, allocations: 4 kB / 294 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002786/0.002567, allocations: 159.8 kB / 294.1 MB, free: 4.902 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.002587, allocations: 7.938 kB / 294.1 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.526e-05/0.002602, allocations: 8 kB / 294.2 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.002856, allocations: 119.6 kB / 294.3 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.002866, allocations: 0 / 294.3 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.002868, allocations: 3.938 kB / 294.3 MB, free: 4.766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.002877, allocations: 0 / 294.3 MB, free: 4.766 MB / 282.7 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.0003333/0.003211, allocations: 281.5 kB / 294.5 MB, free: 4.469 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.003245, allocations: 12.62 kB / 294.6 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.472e-05/0.00327, allocations: 0.9375 kB / 294.6 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.151e-05/0.003341, allocations: 117.7 kB / 294.7 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.003353, allocations: 8.375 kB / 294.7 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.003374, allocations: 8.375 kB / 294.7 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.906e-05/0.003443, allocations: 50.17 kB / 294.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.00345, allocations: 192 / 294.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.003457, allocations: 384 / 294.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.003464, allocations: 8.125 kB / 294.8 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.721e-05/0.003492, allocations: 8 kB / 294.8 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.989e-05/0.003581, allocations: 77.02 kB / 294.8 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.003709, allocations: 42.84 kB / 294.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.131e-05/0.00373, allocations: 20.8 kB / 294.9 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001417/0.003872, allocations: 35.95 kB / 294.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.003889, allocations: 30.56 kB / 295 MB, free: 3.992 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 8.72e-07/0.00389, allocations: 4 kB / 295 MB, free: 3.988 MB / 282.7 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.03821/0.0421, allocations: 5.875 MB / 300.8 MB, free: 14.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.04214, allocations: 59.39 kB / 300.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.257e-05/0.0422, allocations: 102.7 kB / 301 MB, free: 13.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.04225, allocations: 29.7 kB / 301 MB, free: 13.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.215e-05/0.04227, allocations: 84.14 kB / 301.1 MB, free: 13.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.358e-05/0.04236, allocations: 63.42 kB / 301.2 MB, free: 13.72 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.04249, allocations: 81.52 kB / 301.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.101e-05/0.04257, allocations: 322.8 kB / 301.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.04278, allocations: 227.9 kB / 301.8 MB, free: 13.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.04298, allocations: 238.6 kB / 302 MB, free: 12.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004383/0.04342, allocations: 492.9 kB / 302.5 MB, free: 12.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.04342, allocations: 3.938 kB / 302.5 MB, free: 12.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000502/0.04392, allocations: 0.516 MB / 303 MB, free: 11.85 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.04394, allocations: 7.938 kB / 303 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.04394, allocations: 0 / 303 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.04396, allocations: 4 kB / 303 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004713/0.04443, allocations: 151.6 kB / 303.2 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.04443, allocations: 7.938 kB / 303.2 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.04462, allocations: 23.97 kB / 303.2 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-05/0.04466, allocations: 23.92 kB / 303.2 MB, free: 11.64 MB / 298.7 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.0001238/0.04478, allocations: 117.8 kB / 303.4 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.791e-05/0.04485, allocations: 11.94 kB / 303.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007378/0.04559, allocations: 0.6969 MB / 304.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.04559, allocations: 4 kB / 304.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.0456, allocations: 0 / 304.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.0456, allocations: 3.984 kB / 304.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.04712, allocations: 0.8215 MB / 304.9 MB, free: 9.926 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.04712, allocations: 4 kB / 304.9 MB, free: 9.922 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/0.04749, allocations: 135.9 kB / 305 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.34e-05/0.0475, allocations: 15.88 kB / 305 MB, free: 9.773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.0475, allocations: 4 kB / 305 MB, free: 9.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.04753, allocations: 19.94 kB / 305.1 MB, free: 9.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.04754, allocations: 0 / 305.1 MB, free: 9.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.04754, allocations: 7.938 kB / 305.1 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004195/0.04796, allocations: 452.5 kB / 305.5 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/0.048, allocations: 11.98 kB / 305.5 MB, free: 9.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.04818, allocations: 19.98 kB / 305.5 MB, free: 9.234 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.0482, allocations: 19.91 kB / 305.6 MB, free: 9.215 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/0.04823, allocations: 19.94 kB / 305.6 MB, free: 9.195 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.489e-05/0.04825, allocations: 16.86 kB / 305.6 MB, free: 9.176 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04825, allocations: 0 / 305.6 MB, free: 9.176 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001068/0.04932, allocations: 0.5152 MB / 306.1 MB, free: 8.66 MB / 298.7 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.001427/0.05074, allocations: 307.7 kB / 306.4 MB, free: 8.352 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007324/0.05148, allocations: 463.9 kB / 306.9 MB, free: 7.898 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/0.05149, allocations: 0 / 306.9 MB, free: 7.898 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.05169, allocations: 213.1 kB / 307.1 MB, free: 7.688 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.05189, allocations: 75.86 kB / 307.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.05295, allocations: 0.4901 MB / 307.6 MB, free: 7.078 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.965e-05/0.05299, allocations: 67.58 kB / 307.7 MB, free: 6.988 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004221/0.05341, allocations: 217 kB / 307.9 MB, free: 6.773 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003969/0.05381, allocations: 119.2 kB / 308 MB, free: 6.656 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.05381, allocations: 4 kB / 308 MB, free: 6.652 MB / 298.7 MB Notification: Performance of Templates: time 0.04876/0.1026, allocations: 51.68 MB / 359.7 MB, free: 2.969 MB / 346.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.583540866151452]