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.001159/0.001159, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001446/0.001446, allocations: 166.4 kB / 24.99 MB, free: 8.746 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 1.018/1.018, allocations: 177.1 MB / 205.3 MB, free: 5.652 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.2583/0.2583, allocations: 32.8 MB / 294.6 MB, free: 1.18 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 2.735e-06/2.735e-06, allocations: 0 / 376 MB, free: 4.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.942e-05, allocations: 10.19 kB / 376 MB, free: 4.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002463/0.002492, allocations: 1.731 MB / 377.8 MB, free: 3.188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007578/0.00325, allocations: 0.588 MB / 378.3 MB, free: 2.594 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.037e-05/0.00332, allocations: 0 / 378.3 MB, free: 2.594 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.003545, allocations: 19.8 kB / 378.4 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002883/0.003834, allocations: 87.48 kB / 378.4 MB, free: 2.488 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.004201, allocations: 183.5 kB / 378.6 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.004389, allocations: 99.64 kB / 378.7 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.00453, allocations: 11.98 kB / 378.7 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.504e-05/0.004615, allocations: 51.89 kB / 378.8 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.635e-05/0.004682, allocations: 31.91 kB / 378.8 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.0047, allocations: 8 kB / 378.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.00484, allocations: 95.81 kB / 378.9 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.654e-05/0.004917, allocations: 35.83 kB / 379 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.004949, allocations: 12 kB / 379 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.005179, allocations: 163.4 kB / 379.1 MB, free: 1.809 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.005181, allocations: 4 kB / 379.1 MB, free: 1.805 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.52e-07/0.005182, allocations: 0 / 379.1 MB, free: 1.805 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.005186, allocations: 0 / 379.1 MB, free: 1.805 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.0005011/0.005687, allocations: 463.8 kB / 379.6 MB, free: 1.316 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.005724, allocations: 8.031 kB / 379.6 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.255e-05/0.005777, allocations: 16.89 kB / 379.6 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.005941, allocations: 145 kB / 379.7 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.005952, allocations: 384 / 379.7 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.005974, allocations: 8.375 kB / 379.8 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.006139, allocations: 119.8 kB / 379.9 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.006149, allocations: 4 kB / 379.9 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.006159, allocations: 0 / 379.9 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-06/0.006168, allocations: 0 / 379.9 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.091e-05/0.006208, allocations: 15.94 kB / 379.9 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.006593, allocations: 315.6 kB / 380.2 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.00677, allocations: 46.98 kB / 380.2 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.006803, allocations: 15.69 kB / 380.3 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.006824, allocations: 4 kB / 380.3 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.006849, allocations: 45.45 kB / 380.3 MB, free: 488 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.00685, allocations: 0 / 380.3 MB, free: 488 kB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005038/0.007354, allocations: 161.4 kB / 380.5 MB, free: 320 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.007396, allocations: 81.11 kB / 380.5 MB, free: 220 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.007541, allocations: 213 kB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.007553, allocations: 25.7 kB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.096e-05/0.007614, allocations: 150.8 kB / 380.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.007639, allocations: 31.73 kB / 381 MB, free: 15.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.00768, allocations: 31.31 kB / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.0078, allocations: 0.504 MB / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.401e-05/0.007834, allocations: 15.92 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.422e-05/0.007889, allocations: 61.06 kB / 381.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.206e-05/0.007951, allocations: 31.69 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.007951, allocations: 4 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001184/0.00807, allocations: 78.23 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.008083, allocations: 4 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.008089, allocations: 4 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.008102, allocations: 0 / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.008204, allocations: 40 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.00821, allocations: 3.938 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.336e-05/0.008253, allocations: 11.98 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.008265, allocations: 4 kB / 381.7 MB, free: 14.95 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 7.114e-05/0.008336, allocations: 160.5 kB / 381.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.008362, allocations: 15.91 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/0.008649, allocations: 98.41 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.008651, allocations: 0 / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.008654, allocations: 0 / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.008659, allocations: 3.984 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.008959, allocations: 373.3 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.00896, allocations: 0 / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.589e-05/0.009026, allocations: 27.97 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.009029, allocations: 0 / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.009039, allocations: 4 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.00904, allocations: 3.938 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.009042, allocations: 3.938 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.009183, allocations: 227.8 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.04e-05/0.009194, allocations: 11.88 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.009211, allocations: 8 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.672e-05/0.009268, allocations: 15.98 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.009323, allocations: 19.86 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.009328, allocations: 0 / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.728e-05/0.009395, allocations: 157.9 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009395, allocations: 0 / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000193/0.009588, allocations: 55.86 kB / 382.9 MB, free: 13.7 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.001009/0.0106, allocations: 0.4909 MB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.01074, allocations: 51.61 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01075, allocations: 0 / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.729e-05/0.01079, allocations: 35.61 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.01103, allocations: 29.92 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.01142, allocations: 230.5 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.747e-05/0.01146, allocations: 71.33 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.892e-05/0.01153, allocations: 28.45 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.01158, allocations: 24.48 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01158, allocations: 0 / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of Templates: time 0.004906/0.01649, allocations: 2.714 MB / 386.6 MB, free: 10.18 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.314987950026989]