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.0007708/0.0007708, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001082/0.001853, allocations: 449.7 kB / 10.37 MB, free: 328 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.000708/0.000708, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009016/0.00161, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9515/0.9515, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07696/1.028, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.2326/0.2326, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02512/0.2577, allocations: 13.09 MB / 291.3 MB, free: 7.375 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.493e-06/1.493e-06, allocations: 0 / 292.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.486e-05, allocations: 4.562 kB / 292.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0009136/0.0009284, allocations: 0.5806 MB / 293.2 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004862/0.001415, allocations: 391.1 kB / 293.6 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.561e-05/0.00143, allocations: 0 / 293.6 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.278e-06/0.001435, allocations: 4 kB / 293.6 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.051e-05/0.001445, allocations: 3.938 kB / 293.6 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.001678, allocations: 123.4 kB / 293.7 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.521e-05/0.001733, allocations: 23.92 kB / 293.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.791e-05/0.001771, allocations: 11.98 kB / 293.7 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.853e-05/0.00182, allocations: 15.98 kB / 293.8 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.919e-05/0.001869, allocations: 11.92 kB / 293.8 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.001881, allocations: 4 kB / 293.8 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.002083, allocations: 159.8 kB / 293.9 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.002094, allocations: 4 kB / 293.9 MB, free: 5 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.531e-05/0.002109, allocations: 11.94 kB / 293.9 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004099/0.002519, allocations: 119.6 kB / 294.1 MB, free: 4.871 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.478e-05/0.002534, allocations: 3.938 kB / 294.1 MB, free: 4.867 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.002534, allocations: 0 / 294.1 MB, free: 4.867 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.002548, allocations: 0 / 294.1 MB, free: 4.867 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.0003581/0.002906, allocations: 277.5 kB / 294.3 MB, free: 4.574 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.002937, allocations: 12.62 kB / 294.3 MB, free: 4.562 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.566e-05/0.002962, allocations: 8.922 kB / 294.4 MB, free: 4.555 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.327e-05/0.003046, allocations: 117.7 kB / 294.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.003056, allocations: 384 / 294.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.003078, allocations: 8.375 kB / 294.5 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.467e-05/0.003153, allocations: 50.17 kB / 294.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.003162, allocations: 192 / 294.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.003168, allocations: 384 / 294.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.003174, allocations: 8.125 kB / 294.5 MB, free: 4.344 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.328e-05/0.003208, allocations: 11.98 kB / 294.5 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.936e-05/0.003297, allocations: 73.03 kB / 294.6 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.003443, allocations: 46.59 kB / 294.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.084e-05/0.003463, allocations: 20.84 kB / 294.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.003599, allocations: 31.97 kB / 294.7 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.003622, allocations: 34.56 kB / 294.7 MB, free: 4.094 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.003623, allocations: 0 / 294.7 MB, free: 4.094 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.03688/0.04051, allocations: 5.779 MB / 300.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.04053, allocations: 55.41 kB / 300.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.047e-05/0.04057, allocations: 114.6 kB / 300.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.04061, allocations: 29.7 kB / 300.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.055e-05/0.04063, allocations: 88.12 kB / 300.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.898e-05/0.04069, allocations: 59.42 kB / 300.9 MB, free: 13.92 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.04081, allocations: 77.53 kB / 300.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.274e-05/0.04087, allocations: 326.8 kB / 301.3 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.04107, allocations: 231.9 kB / 301.5 MB, free: 13.28 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.04126, allocations: 234.1 kB / 301.7 MB, free: 13.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004168/0.04168, allocations: 488.7 kB / 302.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.04168, allocations: 0 / 302.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004862/0.04217, allocations: 0.5123 MB / 302.7 MB, free: 12.06 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.04218, allocations: 7.938 kB / 302.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-06/0.04218, allocations: 3.938 kB / 302.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.638e-06/0.04219, allocations: 0 / 302.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004622/0.04265, allocations: 159.6 kB / 302.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.04265, allocations: 4 kB / 302.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.04284, allocations: 19.98 kB / 302.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.277e-05/0.04288, allocations: 23.91 kB / 302.9 MB, free: 11.84 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 9.867e-05/0.04298, allocations: 121.8 kB / 303 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.04304, allocations: 19.92 kB / 303.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007319/0.04377, allocations: 0.693 MB / 303.7 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.04378, allocations: 4 kB / 303.8 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.04378, allocations: 0 / 303.8 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.04378, allocations: 0 / 303.8 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.04527, allocations: 0.8172 MB / 304.6 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.04528, allocations: 0 / 304.6 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000348/0.04562, allocations: 139.8 kB / 304.7 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.04563, allocations: 11.94 kB / 304.7 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.04564, allocations: 4 kB / 304.7 MB, free: 9.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.04567, allocations: 19.94 kB / 304.7 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.04567, allocations: 4.25 kB / 304.7 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.04567, allocations: 11.88 kB / 304.8 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/0.04608, allocations: 452.5 kB / 305.2 MB, free: 9.469 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.04612, allocations: 8 kB / 305.2 MB, free: 9.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.0463, allocations: 23.95 kB / 305.2 MB, free: 9.438 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.745e-05/0.04632, allocations: 23.86 kB / 305.3 MB, free: 9.414 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.04635, allocations: 23.88 kB / 305.3 MB, free: 9.391 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.859e-06/0.04636, allocations: 12.84 kB / 305.3 MB, free: 9.375 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04636, allocations: 0 / 305.3 MB, free: 9.375 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008382/0.0472, allocations: 0.5191 MB / 305.8 MB, free: 8.855 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.001358/0.04856, allocations: 299.8 kB / 306.1 MB, free: 8.555 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004473/0.049, allocations: 457.5 kB / 306.5 MB, free: 8.105 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.04901, allocations: 4 kB / 306.6 MB, free: 8.102 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.04921, allocations: 203.4 kB / 306.8 MB, free: 7.902 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.04938, allocations: 63.86 kB / 306.8 MB, free: 7.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.05041, allocations: 0.4968 MB / 307.3 MB, free: 7.301 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.601e-05/0.05045, allocations: 67.58 kB / 307.4 MB, free: 7.211 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004246/0.05087, allocations: 217 kB / 307.6 MB, free: 6.996 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003781/0.05125, allocations: 123.1 kB / 307.7 MB, free: 6.875 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.05125, allocations: 4 kB / 307.7 MB, free: 6.871 MB / 298.7 MB Notification: Performance of Templates: time 0.04601/0.09726, allocations: 51.42 MB / 359.1 MB, free: 3.418 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.490835850127041]