Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001112/0.001112, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001891/0.003003, allocations: 449.8 kB / 10.44 MB, free: 252 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.001113/0.001113, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001565/0.002678, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.068/1.068, allocations: 177.2 MB / 189.8 MB, free: 5.27 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08984/1.158, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.2541/0.2541, allocations: 34.26 MB / 278.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0235/0.2776, allocations: 13.09 MB / 291.5 MB, free: 7.344 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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 292.9 MB, free: 6.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.43e-05, allocations: 3.406 kB / 292.9 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003309/0.003333, allocations: 1.687 MB / 294.5 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.004356, allocations: 0.5646 MB / 295.1 MB, free: 3.93 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.004428, allocations: 0 / 295.1 MB, free: 3.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.004604, allocations: 27.8 kB / 295.1 MB, free: 3.902 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.004849, allocations: 79.48 kB / 295.2 MB, free: 3.824 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.005152, allocations: 95.64 kB / 295.3 MB, free: 3.73 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.005344, allocations: 83.7 kB / 295.4 MB, free: 3.648 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.879e-05/0.005433, allocations: 11.92 kB / 295.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.005558, allocations: 51.91 kB / 295.5 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.955e-05/0.005657, allocations: 27.89 kB / 295.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.005679, allocations: 4 kB / 295.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002536/0.005932, allocations: 99.81 kB / 295.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.931e-05/0.005982, allocations: 11.94 kB / 295.6 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.065e-05/0.006012, allocations: 15.94 kB / 295.6 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.006282, allocations: 139.5 kB / 295.7 MB, free: 3.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-05/0.006304, allocations: 0 / 295.7 MB, free: 3.293 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.006306, allocations: 0 / 295.7 MB, free: 3.293 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.006317, allocations: 0 / 295.7 MB, free: 3.293 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005125/0.006829, allocations: 325.1 kB / 296.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.006868, allocations: 12.03 kB / 296.1 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.514e-05/0.006913, allocations: 4.938 kB / 296.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.007113, allocations: 135.2 kB / 296.2 MB, free: 2.781 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.007126, allocations: 4.312 kB / 296.2 MB, free: 2.777 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.007158, allocations: 4.375 kB / 296.2 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.007317, allocations: 102.4 kB / 296.3 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.007328, allocations: 192 / 296.3 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.007337, allocations: 4.125 kB / 296.3 MB, free: 2.648 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.007344, allocations: 0 / 296.3 MB, free: 2.648 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.511e-05/0.007379, allocations: 11.98 kB / 296.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.007704, allocations: 175 kB / 296.5 MB, free: 2.449 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.537e-05/0.00779, allocations: 41.45 kB / 296.5 MB, free: 2.398 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.453e-05/0.007814, allocations: 12.84 kB / 296.6 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.00784, allocations: 7.984 kB / 296.6 MB, free: 2.375 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.007865, allocations: 30.56 kB / 296.6 MB, free: 2.336 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.823e-06/0.007867, allocations: 4 kB / 296.6 MB, free: 2.332 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004329/0.008299, allocations: 101.9 kB / 296.7 MB, free: 2.227 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.008335, allocations: 59.39 kB / 296.8 MB, free: 2.156 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.008478, allocations: 152.3 kB / 296.9 MB, free: 1.992 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.008492, allocations: 29.64 kB / 296.9 MB, free: 1.957 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.008536, allocations: 88.08 kB / 297 MB, free: 1.867 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.008564, allocations: 35.72 kB / 297.1 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.008609, allocations: 21.72 kB / 297.1 MB, free: 1.805 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.008714, allocations: 326.8 kB / 297.4 MB, free: 1.477 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.554e-05/0.00874, allocations: 6.828 kB / 297.4 MB, free: 1.469 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.764e-05/0.008787, allocations: 59.47 kB / 297.5 MB, free: 1.398 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.898e-05/0.008846, allocations: 30.5 kB / 297.5 MB, free: 1.363 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.008848, allocations: 0 / 297.5 MB, free: 1.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001103/0.008958, allocations: 72.5 kB / 297.6 MB, free: 1.285 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.008975, allocations: 4 kB / 297.6 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.008979, allocations: 0 / 297.6 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.008994, allocations: 0 / 297.6 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.009111, allocations: 19.98 kB / 297.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.009116, allocations: 0 / 297.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.894e-05/0.009155, allocations: 8 kB / 297.6 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.009164, allocations: 8.016 kB / 297.6 MB, free: 1.246 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 (9): * Single equations (assignments): 9 * 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 7.908e-05/0.009243, allocations: 124.6 kB / 297.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.009277, allocations: 7.938 kB / 297.7 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.009432, allocations: 78.44 kB / 297.8 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.009436, allocations: 3.984 kB / 297.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.009438, allocations: 0 / 297.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.009441, allocations: 0 / 297.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003393/0.00978, allocations: 286.5 kB / 298.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.009782, allocations: 0 / 298.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.383e-05/0.009856, allocations: 15.98 kB / 298.1 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.423e-05/0.00987, allocations: 11.95 kB / 298.1 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.009873, allocations: 0 / 298.1 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.009881, allocations: 4 kB / 298.1 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.009885, allocations: 3.938 kB / 298.1 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.009886, allocations: 0 / 298.1 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.01002, allocations: 159.5 kB / 298.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.01004, allocations: 0 / 298.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.956e-05/0.01011, allocations: 7.984 kB / 298.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.01014, allocations: 0 / 298.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.01015, allocations: 11.92 kB / 298.3 MB, free: 496 kB / 282.7 MB Notification: Performance of sorting global known variables: time 5.479e-05/0.0102, allocations: 34.25 kB / 298.3 MB, free: 460 kB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0102, allocations: 4 kB / 298.3 MB, free: 456 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.000308/0.01051, allocations: 47.86 kB / 298.4 MB, free: 408 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.002306/0.01282, allocations: 0.7051 MB / 299.1 MB, free: 64 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.01294, allocations: 40.72 kB / 299.1 MB, free: 20 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.01295, allocations: 4 kB / 299.1 MB, free: 16 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.317e-05/0.01302, allocations: 24.91 kB / 299.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.01332, allocations: 91.22 kB / 299.2 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006183/0.01394, allocations: 182.9 kB / 299.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.696e-05/0.01399, allocations: 67.2 kB / 299.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.116e-05/0.01406, allocations: 16.7 kB / 299.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.845e-05/0.01416, allocations: 75.3 kB / 299.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01416, allocations: 0 / 299.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of Templates: time 0.005734/0.0199, allocations: 2.263 MB / 301.8 MB, free: 13.26 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.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: 2.943845210596919]