Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_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.0009334/0.0009334, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.0009746/0.0009746, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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.9443/0.9443, allocations: 177.2 MB / 206.1 MB, free: 4.473 MB / 186.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.1739/0.1739, allocations: 34.26 MB / 296.9 MB, free: 13.91 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.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.846e-05, allocations: 6.25 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.001978/0.001996, allocations: 1.714 MB / 381 MB, free: 21.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007336/0.00273, allocations: 0.553 MB / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.954e-05/0.002799, allocations: 0 / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.003015, allocations: 23.78 kB / 381.6 MB, free: 21.08 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002748/0.003289, allocations: 83.5 kB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.003506, allocations: 135.6 kB / 381.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.003641, allocations: 99.61 kB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.291e-05/0.003724, allocations: 15.94 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.734e-05/0.003802, allocations: 47.89 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.263e-05/0.003864, allocations: 35.89 kB / 382 MB, free: 20.67 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.003879, allocations: 8 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.004002, allocations: 91.81 kB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.296e-05/0.004055, allocations: 23.92 kB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.004077, allocations: 31.84 kB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.004274, allocations: 155.5 kB / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.004276, allocations: 0 / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004276, allocations: 0 / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.004281, allocations: 0 / 382.3 MB, free: 20.36 MB / 314.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.0003565/0.004637, allocations: 463.7 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.004669, allocations: 8.031 kB / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.004705, allocations: 16.89 kB / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.004825, allocations: 137 kB / 382.9 MB, free: 19.69 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.004835, allocations: 8.375 kB / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.004852, allocations: 4.375 kB / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.004977, allocations: 119.8 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.004986, allocations: 0 / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.004993, allocations: 3.984 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.004998, allocations: 4 kB / 383.1 MB, free: 19.53 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.596e-05/0.005024, allocations: 11.92 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002538/0.005278, allocations: 276.4 kB / 383.3 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.428e-05/0.005352, allocations: 47 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.005371, allocations: 19.61 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.005386, allocations: 4 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.005401, allocations: 37.39 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.005402, allocations: 0 / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003858/0.005787, allocations: 153.5 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.005813, allocations: 77.11 kB / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.467e-05/0.005898, allocations: 204.5 kB / 383.9 MB, free: 18.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.206e-06/0.005906, allocations: 29.64 kB / 383.9 MB, free: 18.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.675e-05/0.005943, allocations: 142.9 kB / 384 MB, free: 18.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.005963, allocations: 31.72 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.005997, allocations: 31.38 kB / 384.1 MB, free: 18.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.299e-05/0.00606, allocations: 0.5039 MB / 384.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.216e-05/0.006082, allocations: 11.98 kB / 384.6 MB, free: 17.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.894e-05/0.006121, allocations: 65.03 kB / 384.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.977e-05/0.006171, allocations: 31.67 kB / 384.7 MB, free: 17.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.006172, allocations: 3.938 kB / 384.7 MB, free: 17.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.274e-05/0.006264, allocations: 73.59 kB / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.006278, allocations: 4 kB / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.006283, allocations: 0 / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.006295, allocations: 0 / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.411e-05/0.006389, allocations: 43.94 kB / 384.8 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.006392, allocations: 0 / 384.8 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.315e-05/0.006435, allocations: 11.98 kB / 384.9 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.006443, allocations: 3.938 kB / 384.9 MB, free: 17.59 MB / 314.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 (10): * Single equations (assignments): 10 * 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.344e-05/0.006497, allocations: 160.6 kB / 385 MB, free: 17.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.006522, allocations: 11.95 kB / 385 MB, free: 17.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.006631, allocations: 82.38 kB / 385.1 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.006634, allocations: 4 kB / 385.1 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.006635, allocations: 0 / 385.1 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.006639, allocations: 4 kB / 385.1 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.006861, allocations: 346.2 kB / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.006862, allocations: 4 kB / 385.5 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.027e-05/0.006922, allocations: 27.92 kB / 385.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.006924, allocations: 4 kB / 385.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.00693, allocations: 0 / 385.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.006931, allocations: 0 / 385.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.006932, allocations: 3.938 kB / 385.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.763e-05/0.00702, allocations: 219.8 kB / 385.7 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-06/0.007029, allocations: 11.94 kB / 385.7 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.007042, allocations: 4 kB / 385.7 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.138e-05/0.007104, allocations: 15.98 kB / 385.7 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.00714, allocations: 11.92 kB / 385.7 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.007146, allocations: 4 kB / 385.8 MB, free: 16.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.849e-05/0.007184, allocations: 154.3 kB / 385.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007184, allocations: 3.938 kB / 385.9 MB, free: 16.47 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001956/0.00738, allocations: 51.86 kB / 386 MB, free: 16.42 MB / 314.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 (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 Backend phase and start with SimCode phase: time 0.0009233/0.008303, allocations: 0.4923 MB / 386.5 MB, free: 16.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.00841, allocations: 43.61 kB / 386.5 MB, free: 16.06 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.008412, allocations: 0 / 386.5 MB, free: 16.06 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.217e-05/0.008444, allocations: 35.59 kB / 386.5 MB, free: 16.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.008671, allocations: 39.62 kB / 386.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/0.008973, allocations: 214.6 kB / 386.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.822e-05/0.009001, allocations: 67.33 kB / 386.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.684e-05/0.009058, allocations: 12.5 kB / 386.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.952e-05/0.009137, allocations: 94.17 kB / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009138, allocations: 0 / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of Templates: time 0.003977/0.01311, allocations: 2.985 MB / 389.9 MB, free: 12.6 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.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: 3.018754136748612]