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.001359/0.001359, allocations: 82.7 kB / 20.68 MB, free: 0.8906 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.001417/0.001417, allocations: 168 kB / 23.96 MB, free: 3.91 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.49/1.49, allocations: 177.1 MB / 204.3 MB, free: 9.199 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.2358/0.2358, allocations: 34.27 MB / 294.9 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.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|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.1.|t_new.y.2.|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.533e-06/1.533e-06, allocations: 0 / 442.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.124e-05/3.277e-05, allocations: 2.281 kB / 442.7 MB, free: 5.406 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003607/0.003639, allocations: 1.607 MB / 444.3 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.004913, allocations: 0.5414 MB / 444.8 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.17e-05/0.004994, allocations: 4 kB / 444.8 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.005258, allocations: 23.8 kB / 444.9 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000388/0.005646, allocations: 79.56 kB / 444.9 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.005993, allocations: 87.69 kB / 445 MB, free: 3.051 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.006229, allocations: 79.7 kB / 445.1 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.006352, allocations: 15.97 kB / 445.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.535e-05/0.006447, allocations: 31.92 kB / 445.2 MB, free: 2.926 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.461e-05/0.006542, allocations: 31.89 kB / 445.2 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.006566, allocations: 8 kB / 445.2 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000266/0.006832, allocations: 99.75 kB / 445.3 MB, free: 2.789 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.329e-05/0.006896, allocations: 11.94 kB / 445.3 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.615e-05/0.006952, allocations: 15.92 kB / 445.3 MB, free: 2.762 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000396/0.007348, allocations: 159.5 kB / 445.5 MB, free: 2.605 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.00735, allocations: 0 / 445.5 MB, free: 2.605 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.007351, allocations: 0 / 445.5 MB, free: 2.605 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.007364, allocations: 3.938 kB / 445.5 MB, free: 2.602 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006246/0.007988, allocations: 332.2 kB / 445.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.008029, allocations: 16.03 kB / 445.8 MB, free: 2.234 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.268e-05/0.008081, allocations: 8.891 kB / 445.8 MB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.008343, allocations: 144 kB / 446 MB, free: 2.062 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.008355, allocations: 4.375 kB / 446 MB, free: 2.059 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.008381, allocations: 384 / 446 MB, free: 2.059 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.00859, allocations: 93.66 kB / 446.1 MB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.008602, allocations: 192 / 446.1 MB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.008618, allocations: 8.125 kB / 446.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.008623, allocations: 0 / 446.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.008733, allocations: 27.97 kB / 446.1 MB, free: 1.914 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004611/0.009194, allocations: 240.5 kB / 446.3 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.009351, allocations: 58.55 kB / 446.4 MB, free: 1.582 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.533e-05/0.009416, allocations: 20.97 kB / 446.4 MB, free: 1.559 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.009443, allocations: 4 kB / 446.4 MB, free: 1.555 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.009475, allocations: 34.5 kB / 446.4 MB, free: 1.512 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.009476, allocations: 0 / 446.4 MB, free: 1.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000742/0.01022, allocations: 197.3 kB / 446.6 MB, free: 1.312 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.01028, allocations: 85.09 kB / 446.7 MB, free: 1.211 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.01047, allocations: 146.2 kB / 446.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.01049, allocations: 29.7 kB / 446.9 MB, free: 1.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.492e-05/0.01056, allocations: 96.12 kB / 447 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.01059, allocations: 31.62 kB / 447 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.512e-05/0.01065, allocations: 29.7 kB / 447 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.0108, allocations: 314.8 kB / 447.4 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.36e-05/0.0109, allocations: 32.34 kB / 447.4 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.01102, allocations: 75.39 kB / 447.5 MB, free: 432 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.01121, allocations: 76.95 kB / 447.5 MB, free: 352 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.01121, allocations: 4 kB / 447.5 MB, free: 348 kB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002676/0.01148, allocations: 113.5 kB / 447.7 MB, free: 228 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.0115, allocations: 11.98 kB / 447.7 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.01151, allocations: 0 / 447.7 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.01152, allocations: 0 / 447.7 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.01164, allocations: 24.02 kB / 447.7 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.01165, allocations: 3.938 kB / 447.7 MB, free: 188 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.247e-05/0.0117, allocations: 4 kB / 447.7 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.01171, allocations: 0 / 447.7 MB, free: 184 kB / 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 (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 0.0001137/0.01182, allocations: 126.5 kB / 447.8 MB, free: 48 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.591e-05/0.01187, allocations: 15.84 kB / 447.8 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2088/0.2206, allocations: 109.7 kB / 447.9 MB, free: 19.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.2206, allocations: 2.25 kB / 447.9 MB, free: 19.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.2207, allocations: 0 / 447.9 MB, free: 19.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2207, allocations: 3.406 kB / 447.9 MB, free: 19.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006107/0.2213, allocations: 339.8 kB / 448.3 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2213, allocations: 0 / 448.3 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.699e-05/0.2214, allocations: 17.09 kB / 448.3 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.2214, allocations: 0.75 kB / 448.3 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.2214, allocations: 4.062 kB / 448.3 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.2214, allocations: 1.188 kB / 448.3 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2214, allocations: 2.875 kB / 448.3 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.2217, allocations: 201.1 kB / 448.5 MB, free: 18.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.2217, allocations: 10.45 kB / 448.5 MB, free: 18.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.2217, allocations: 5.375 kB / 448.5 MB, free: 18.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.339e-05/0.2218, allocations: 9.078 kB / 448.5 MB, free: 18.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.2219, allocations: 6.547 kB / 448.5 MB, free: 18.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.2219, allocations: 2.922 kB / 448.5 MB, free: 18.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.994e-05/0.222, allocations: 118.4 kB / 448.6 MB, free: 18.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.222, allocations: 2.625 kB / 448.7 MB, free: 18.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000337/0.2223, allocations: 45.89 kB / 448.7 MB, free: 18.64 MB / 366.1 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.002029/0.2243, allocations: 0.5327 MB / 449.2 MB, free: 18.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000306/0.2246, allocations: 70.77 kB / 449.3 MB, free: 18.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2246, allocations: 0 / 449.3 MB, free: 18.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.2248, allocations: 33.91 kB / 449.3 MB, free: 18.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.2251, allocations: 26.53 kB / 449.4 MB, free: 18.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005039/0.2256, allocations: 200.9 kB / 449.6 MB, free: 18.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.489e-05/0.2257, allocations: 78.3 kB / 449.6 MB, free: 18.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.228e-05/0.2258, allocations: 22.61 kB / 449.7 MB, free: 18.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/0.2258, allocations: 18.84 kB / 449.7 MB, free: 18.29 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.2258, allocations: 3.844 kB / 449.7 MB, free: 18.29 MB / 366.1 MB Notification: Performance of Templates: time 0.006459/0.2323, allocations: 2.034 MB / 451.7 MB, free: 18.03 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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: 4.958842359483242]