Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001158/0.001158, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001613/0.002771, 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.001091/0.001091, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001334/0.002425, 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.9905/0.9905, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0938/1.084, allocations: 53.65 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.2573/0.2573, allocations: 34.24 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02549/0.2827, allocations: 13.09 MB / 291.3 MB, free: 7.367 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.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 292.6 MB, free: 6.266 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.302e-05, allocations: 2.312 kB / 292.6 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002593/0.002616, allocations: 1.695 MB / 294.3 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003919/0.006535, allocations: 0.5453 MB / 294.9 MB, free: 4.008 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.718e-05/0.006602, allocations: 7.938 kB / 294.9 MB, free: 4 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.006819, allocations: 75.64 kB / 295 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.00709, allocations: 95.53 kB / 295.1 MB, free: 3.832 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.007401, allocations: 95.62 kB / 295.2 MB, free: 3.738 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.007569, allocations: 83.75 kB / 295.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.257e-05/0.007651, allocations: 11.98 kB / 295.3 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.00776, allocations: 67.81 kB / 295.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.143e-05/0.007852, allocations: 39.97 kB / 295.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.007865, allocations: 0 / 295.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.487e-05/0.00796, allocations: 51.91 kB / 295.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.157e-05/0.008001, allocations: 19.86 kB / 295.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.008028, allocations: 11.94 kB / 295.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.008184, allocations: 87.62 kB / 295.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.422e-05/0.008199, allocations: 0 / 295.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.0082, allocations: 0 / 295.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.008214, allocations: 0 / 295.5 MB, free: 3.371 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004033/0.008617, allocations: 321.1 kB / 295.8 MB, free: 3.035 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.00865, allocations: 16.03 kB / 295.9 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.008683, allocations: 12.92 kB / 295.9 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.008827, allocations: 138.3 kB / 296 MB, free: 2.848 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.008836, allocations: 384 / 296 MB, free: 2.848 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.008855, allocations: 8.375 kB / 296 MB, free: 2.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.008956, allocations: 58.88 kB / 296.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.008966, allocations: 4.172 kB / 296.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.008974, allocations: 8.125 kB / 296.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.008978, allocations: 0 / 296.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.508e-05/0.009003, allocations: 8 kB / 296.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003305/0.01231, allocations: 171.1 kB / 296.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.001e-05/0.01238, allocations: 34.5 kB / 296.3 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.133e-05/0.0124, allocations: 12.86 kB / 296.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.01242, allocations: 0 / 296.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.01245, allocations: 38.58 kB / 296.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.01245, allocations: 0 / 296.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005245/0.01297, allocations: 145.5 kB / 296.5 MB, free: 2.316 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.013, allocations: 51.41 kB / 296.5 MB, free: 2.254 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.01314, allocations: 177 kB / 296.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.01315, allocations: 29.7 kB / 296.7 MB, free: 2.027 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.627e-05/0.01319, allocations: 96.11 kB / 296.8 MB, free: 1.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.01322, allocations: 39.66 kB / 296.9 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.01325, allocations: 17.72 kB / 296.9 MB, free: 1.867 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.286e-05/0.01334, allocations: 326.8 kB / 297.2 MB, free: 1.539 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.318e-05/0.01335, allocations: 4 kB / 297.2 MB, free: 1.535 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.312e-05/0.01336, allocations: 4 kB / 297.2 MB, free: 1.531 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.771e-05/0.0134, allocations: 32.81 kB / 297.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.0134, allocations: 0 / 297.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.771e-05/0.01348, allocations: 57.62 kB / 297.3 MB, free: 1.434 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.01349, allocations: 11.94 kB / 297.3 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.0135, allocations: 0 / 297.3 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.01351, allocations: 3.984 kB / 297.3 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.224e-05/0.01359, allocations: 19.94 kB / 297.3 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.01359, allocations: 0 / 297.3 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.601e-05/0.01362, allocations: 11.98 kB / 297.3 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.01362, allocations: 0 / 297.3 MB, free: 1.387 MB / 282.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 (8): * Single equations (assignments): 8 * 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 5.592e-05/0.01368, allocations: 108.7 kB / 297.4 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.0137, allocations: 15.94 kB / 297.5 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.01381, allocations: 67.12 kB / 297.5 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.01381, allocations: 4 kB / 297.5 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.01381, allocations: 3.938 kB / 297.5 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01382, allocations: 4 kB / 297.5 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.01409, allocations: 255.8 kB / 297.8 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01409, allocations: 0 / 297.8 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.361e-05/0.01414, allocations: 19.98 kB / 297.8 MB, free: 0.875 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.123e-05/0.01416, allocations: 7.953 kB / 297.8 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.01416, allocations: 432 / 297.8 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.01416, allocations: 4 kB / 297.8 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.01417, allocations: 3.984 kB / 297.8 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01417, allocations: 4.031 kB / 297.8 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.973e-05/0.01427, allocations: 164.2 kB / 298 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.01428, allocations: 8 kB / 298 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.834e-05/0.01433, allocations: 0 / 298 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.01436, allocations: 11.97 kB / 298 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.01436, allocations: 4 kB / 298 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.014e-05/0.01441, allocations: 48.36 kB / 298.1 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01441, allocations: 0 / 298.1 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001958/0.01461, allocations: 23.92 kB / 298.1 MB, free: 0.5781 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.004839/0.01944, allocations: 0.6339 MB / 298.7 MB, free: 304 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.548e-05/0.01954, allocations: 36.72 kB / 298.8 MB, free: 264 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.535e-06/0.01955, allocations: 4 kB / 298.8 MB, free: 260 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.615e-05/0.01957, allocations: 20.86 kB / 298.8 MB, free: 236 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.01978, allocations: 19.98 kB / 298.8 MB, free: 216 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005573/0.02034, allocations: 228.7 kB / 299 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.227e-05/0.02039, allocations: 63.34 kB / 299.1 MB, free: 15.87 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.363e-05/0.02044, allocations: 17.02 kB / 299.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.239e-05/0.0205, allocations: 59.38 kB / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of SimCode: time 7.72e-07/0.0205, allocations: 4.062 kB / 299.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of Templates: time 0.009721/0.03022, allocations: 1.497 MB / 300.7 MB, free: 14.31 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.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: 2.803265333175659]