Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001038/0.001038, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001037/0.001037, allocations: 165 kB / 24.56 MB, free: 8 kB / 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 1.029/1.029, allocations: 177.1 MB / 205 MB, free: 5.59 MB / 186.7 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.2906/0.2906, allocations: 32.81 MB / 294.3 MB, free: 1.289 MB / 266.7 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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.706e-05, allocations: 6.312 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.00217/0.002187, allocations: 1.746 MB / 377.8 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007999/0.002987, allocations: 0.5802 MB / 378.4 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.895e-05/0.003046, allocations: 4 kB / 378.4 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.003281, allocations: 31.78 kB / 378.4 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.003536, allocations: 87.48 kB / 378.5 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.003828, allocations: 179.5 kB / 378.7 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.003972, allocations: 99.64 kB / 378.8 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.774e-05/0.004069, allocations: 15.97 kB / 378.8 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.97e-05/0.004149, allocations: 47.91 kB / 378.8 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.15e-05/0.004221, allocations: 39.88 kB / 378.9 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.004238, allocations: 4 kB / 378.9 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.004375, allocations: 95.81 kB / 378.9 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.568e-05/0.004431, allocations: 23.92 kB / 379 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.004467, allocations: 27.91 kB / 379 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.004686, allocations: 159.4 kB / 379.2 MB, free: 1.512 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004688, allocations: 0 / 379.2 MB, free: 1.512 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.004689, allocations: 4 kB / 379.2 MB, free: 1.508 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.004694, allocations: 0 / 379.2 MB, free: 1.508 MB / 346.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.0004588/0.005152, allocations: 463.8 kB / 379.6 MB, free: 1.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.00519, allocations: 8.031 kB / 379.6 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.005235, allocations: 12.89 kB / 379.6 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.005404, allocations: 145 kB / 379.8 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.005412, allocations: 384 / 379.8 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.005439, allocations: 4.375 kB / 379.8 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.005612, allocations: 123.8 kB / 379.9 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.005621, allocations: 4 kB / 379.9 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.005631, allocations: 0 / 379.9 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.005639, allocations: 0 / 379.9 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.419e-05/0.005683, allocations: 11.94 kB / 379.9 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.006142, allocations: 319.6 kB / 380.2 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.006284, allocations: 50.97 kB / 380.3 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.006e-05/0.006324, allocations: 19.81 kB / 380.3 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.006355, allocations: 3.984 kB / 380.3 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.006387, allocations: 45.33 kB / 380.3 MB, free: 180 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.006388, allocations: 0 / 380.3 MB, free: 180 kB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006134/0.007002, allocations: 161.3 kB / 380.5 MB, free: 12 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.007057, allocations: 85.11 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.007192, allocations: 208.9 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.007204, allocations: 25.7 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.632e-05/0.00726, allocations: 150.8 kB / 381 MB, free: 15.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.007282, allocations: 27.75 kB / 381 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.007322, allocations: 27.38 kB / 381 MB, free: 15.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003811/0.007703, allocations: 0.5 MB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.423e-05/0.007737, allocations: 15.92 kB / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.031e-05/0.007788, allocations: 61.06 kB / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.302e-05/0.007851, allocations: 35.69 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.007852, allocations: 0 / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001175/0.007969, allocations: 81.86 kB / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.007981, allocations: 4 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.007985, allocations: 0 / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.008001, allocations: 7.938 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.008105, allocations: 27.97 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.008109, allocations: 7.969 kB / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.491e-05/0.008154, allocations: 15.98 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.008162, allocations: 4.375 kB / 381.8 MB, free: 14.65 MB / 362.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 6.64e-05/0.008229, allocations: 160.5 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.008255, allocations: 15.91 kB / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.008398, allocations: 94.41 kB / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.008401, allocations: 4 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.008406, allocations: 4 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.008409, allocations: 0 / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/0.00871, allocations: 377.4 kB / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.008712, allocations: 0 / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.657e-05/0.008779, allocations: 27.98 kB / 382.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.008781, allocations: 0 / 382.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.00879, allocations: 0 / 382.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.008793, allocations: 7.938 kB / 382.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.008795, allocations: 3.938 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.00895, allocations: 227.8 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.428e-05/0.008964, allocations: 11.89 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.008984, allocations: 0 / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.653e-05/0.00904, allocations: 19.98 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/0.009099, allocations: 11.92 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.009104, allocations: 4 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.46e-05/0.009179, allocations: 161.5 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009179, allocations: 0 / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002136/0.009393, allocations: 51.86 kB / 382.9 MB, free: 13.41 MB / 362.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.001029/0.01042, allocations: 0.4962 MB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.01056, allocations: 55.61 kB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01056, allocations: 0 / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.367e-05/0.01061, allocations: 31.61 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.01082, allocations: 31.97 kB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003634/0.01118, allocations: 226.5 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.944e-05/0.01122, allocations: 75.33 kB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.836e-05/0.01128, allocations: 20.47 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.645e-05/0.01133, allocations: 24.48 kB / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01133, allocations: 4 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of Templates: time 0.004131/0.01546, allocations: 2.708 MB / 386.6 MB, free: 9.891 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/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.3604710660874844]