Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001299/0.001299, allocations: 84.92 kB / 20.68 MB, free: 1.035 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.001407/0.001407, allocations: 164.6 kB / 23.95 MB, free: 4.168 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.377/1.377, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2011/0.2011, allocations: 32.81 MB / 293.5 MB, free: 40 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 440.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.206e-05, allocations: 6.219 kB / 440.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003204/0.003226, allocations: 1.693 MB / 441.8 MB, free: 6.441 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.004416, allocations: 0.5414 MB / 442.3 MB, free: 5.895 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.861e-05/0.004495, allocations: 4 kB / 442.4 MB, free: 5.891 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.004709, allocations: 27.72 kB / 442.4 MB, free: 5.863 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004068/0.005116, allocations: 83.5 kB / 442.5 MB, free: 5.781 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.005521, allocations: 144.8 kB / 442.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.005728, allocations: 87.7 kB / 442.7 MB, free: 5.559 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.005833, allocations: 15.97 kB / 442.7 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.005947, allocations: 43.91 kB / 442.7 MB, free: 5.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.00605, allocations: 43.88 kB / 442.8 MB, free: 5.457 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.006074, allocations: 7.938 kB / 442.8 MB, free: 5.449 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002304/0.006305, allocations: 99.81 kB / 442.9 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.135e-05/0.006376, allocations: 15.92 kB / 442.9 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.006419, allocations: 31.91 kB / 442.9 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003379/0.006757, allocations: 171.4 kB / 443.1 MB, free: 5.137 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.006762, allocations: 4 kB / 443.1 MB, free: 5.133 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.006763, allocations: 0 / 443.1 MB, free: 5.133 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.006772, allocations: 0 / 443.1 MB, free: 5.133 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000686/0.007458, allocations: 361.5 kB / 443.5 MB, free: 4.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.007499, allocations: 8.031 kB / 443.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.389e-05/0.007553, allocations: 12.89 kB / 443.5 MB, free: 4.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.007779, allocations: 142.2 kB / 443.6 MB, free: 4.566 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-06/0.007787, allocations: 4.375 kB / 443.6 MB, free: 4.562 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.007815, allocations: 8.312 kB / 443.6 MB, free: 4.555 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.008144, allocations: 125.4 kB / 443.8 MB, free: 4.414 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.008157, allocations: 3.938 kB / 443.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.00817, allocations: 0 / 443.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.008176, allocations: 0 / 443.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003249/0.008501, allocations: 75.86 kB / 443.8 MB, free: 4.336 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000497/0.008998, allocations: 244.4 kB / 444.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.00926, allocations: 74.41 kB / 444.1 MB, free: 3.984 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.009434, allocations: 40.95 kB / 444.2 MB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.009463, allocations: 0 / 444.2 MB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.009495, allocations: 38.56 kB / 444.2 MB, free: 3.895 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.009496, allocations: 0 / 444.2 MB, free: 3.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001756/0.01125, allocations: 377.1 kB / 444.6 MB, free: 3.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.01131, allocations: 77.11 kB / 444.7 MB, free: 3.426 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.01149, allocations: 154.4 kB / 444.8 MB, free: 3.258 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.01151, allocations: 29.7 kB / 444.8 MB, free: 3.223 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.116e-05/0.01159, allocations: 108 kB / 445 MB, free: 3.113 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.01163, allocations: 31.81 kB / 445 MB, free: 3.082 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.01168, allocations: 21.72 kB / 445 MB, free: 3.055 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.01183, allocations: 322.8 kB / 445.3 MB, free: 2.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/0.01215, allocations: 71.86 kB / 445.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/0.01249, allocations: 115.3 kB / 445.5 MB, free: 2.535 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005994/0.01309, allocations: 145 kB / 445.6 MB, free: 2.391 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.01309, allocations: 0 / 445.6 MB, free: 2.391 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006867/0.01377, allocations: 201.4 kB / 445.8 MB, free: 2.188 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.01379, allocations: 4 kB / 445.8 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.01379, allocations: 0 / 445.8 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.01381, allocations: 0 / 445.8 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.01405, allocations: 47.95 kB / 445.9 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.01405, allocations: 0 / 445.9 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.01421, allocations: 31.83 kB / 445.9 MB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.01423, allocations: 4 kB / 445.9 MB, free: 2.102 MB / 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 (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 0.0001165/0.01435, allocations: 118.5 kB / 446 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/0.01439, allocations: 15.94 kB / 446.1 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007249/0.01512, allocations: 202.2 kB / 446.3 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.01512, allocations: 0 / 446.3 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.01512, allocations: 3.938 kB / 446.3 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.01513, allocations: 3.938 kB / 446.3 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.01613, allocations: 426.3 kB / 446.7 MB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.01614, allocations: 4 kB / 446.7 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.01634, allocations: 39.95 kB / 446.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.01635, allocations: 4 kB / 446.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.01636, allocations: 3.938 kB / 446.7 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.01636, allocations: 0 / 446.7 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.01637, allocations: 3.938 kB / 446.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007759/0.01714, allocations: 287.6 kB / 447 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.549e-05/0.01717, allocations: 11.95 kB / 447 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.0172, allocations: 7.938 kB / 447 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.01738, allocations: 23.97 kB / 447.1 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.024e-05/0.01746, allocations: 15.91 kB / 447.1 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.01747, allocations: 4 kB / 447.1 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.0176, allocations: 122.4 kB / 447.2 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0176, allocations: 0 / 447.2 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003314/0.01793, allocations: 47.88 kB / 447.2 MB, free: 0.7148 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 (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.001932/0.01986, allocations: 0.5339 MB / 447.8 MB, free: 404 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000719/0.02058, allocations: 155.8 kB / 447.9 MB, free: 248 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.02059, allocations: 4 kB / 447.9 MB, free: 244 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003228/0.02091, allocations: 79.84 kB / 448 MB, free: 164 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.02124, allocations: 26.66 kB / 448 MB, free: 144 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1606/0.1818, allocations: 214.2 kB / 448.2 MB, free: 21.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.025e-05/0.1819, allocations: 88.34 kB / 448.3 MB, free: 21.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.182, allocations: 14.36 kB / 448.3 MB, free: 21.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.1821, allocations: 20.02 kB / 448.4 MB, free: 21.23 MB / 366.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1821, allocations: 0 / 448.4 MB, free: 21.23 MB / 366.1 MB Notification: Performance of Templates: time 0.006024/0.1881, allocations: 2.633 MB / 451 MB, free: 21.05 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_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.62156144157052]