Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001054/0.001054, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.001171/0.001171, allocations: 161 kB / 24.56 MB, free: 16 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.011/1.011, allocations: 177.1 MB / 205 MB, free: 5.582 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.2582/0.2582, allocations: 34.26 MB / 295.7 MB, free: 0.6797 MB / 266.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.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.1.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.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 378.1 MB, free: 2.586 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.473e-05, allocations: 5.969 kB / 378.1 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002305/0.002329, allocations: 1.74 MB / 379.8 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007704/0.0031, allocations: 0.5842 MB / 380.4 MB, free: 244 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.17e-05/0.003162, allocations: 0 / 380.4 MB, free: 244 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.003374, allocations: 27.72 kB / 380.4 MB, free: 216 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.003644, allocations: 83.55 kB / 380.5 MB, free: 132 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.00399, allocations: 183.5 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.00416, allocations: 95.7 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.891e-05/0.004259, allocations: 19.97 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.743e-05/0.004336, allocations: 43.84 kB / 380.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.572e-05/0.004402, allocations: 35.89 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.004422, allocations: 8 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.00457, allocations: 107.7 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.167e-05/0.004632, allocations: 23.92 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.004665, allocations: 23.92 kB / 381 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.004903, allocations: 151.5 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.004905, allocations: 0 / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004906, allocations: 0 / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.00491, allocations: 3.938 kB / 381.2 MB, free: 15.45 MB / 362.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.0004433/0.005354, allocations: 463.8 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.005393, allocations: 12.03 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.005441, allocations: 12.89 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.005597, allocations: 137.1 kB / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.005609, allocations: 16.31 kB / 381.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.005638, allocations: 4.375 kB / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.005811, allocations: 119.7 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.00582, allocations: 0 / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.00583, allocations: 0 / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.005837, allocations: 4 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.084e-05/0.005878, allocations: 8 kB / 381.9 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.006273, allocations: 319.6 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.006378, allocations: 58.92 kB / 382.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.056e-05/0.006408, allocations: 11.69 kB / 382.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.006432, allocations: 4 kB / 382.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.006459, allocations: 41.5 kB / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.006461, allocations: 0 / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005224/0.006983, allocations: 161.3 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.007026, allocations: 85.03 kB / 382.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.007163, allocations: 208.1 kB / 382.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.007177, allocations: 29.7 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.007242, allocations: 146.8 kB / 383 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.007269, allocations: 31.73 kB / 383 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.007312, allocations: 31.38 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.007438, allocations: 0.4961 MB / 383.5 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.623e-05/0.007475, allocations: 11.98 kB / 383.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.286e-05/0.007537, allocations: 61.06 kB / 383.6 MB, free: 12.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.213e-05/0.00761, allocations: 40 kB / 383.6 MB, free: 12.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.007611, allocations: 0 / 383.6 MB, free: 12.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001274/0.007738, allocations: 77.92 kB / 383.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.007752, allocations: 11.97 kB / 383.7 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.007758, allocations: 8 kB / 383.7 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.007774, allocations: 0 / 383.7 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.007881, allocations: 27.97 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.007888, allocations: 3.984 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.368e-05/0.007932, allocations: 15.98 kB / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.00794, allocations: 0 / 383.8 MB, free: 12.59 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 8.035e-05/0.008021, allocations: 164.5 kB / 383.9 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.00805, allocations: 15.91 kB / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.008206, allocations: 102.3 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.008208, allocations: 0 / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.008213, allocations: 0 / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.008217, allocations: 0 / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.008552, allocations: 385.3 kB / 384.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.008553, allocations: 0 / 384.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.597e-05/0.008619, allocations: 23.98 kB / 384.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.008621, allocations: 0 / 384.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.00863, allocations: 0 / 384.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.008631, allocations: 0 / 384.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.008633, allocations: 7.938 kB / 384.5 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.008781, allocations: 231.8 kB / 384.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.323e-05/0.008794, allocations: 15.92 kB / 384.7 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.008808, allocations: 0 / 384.7 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.682e-05/0.008865, allocations: 15.98 kB / 384.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.008926, allocations: 15.92 kB / 384.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.008933, allocations: 0 / 384.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.626e-05/0.009029, allocations: 161.9 kB / 384.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.009029, allocations: 0 / 384.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003231/0.009352, allocations: 51.86 kB / 385 MB, free: 11.34 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.001144/0.0105, allocations: 0.5028 MB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000157/0.01065, allocations: 51.61 kB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01066, allocations: 0 / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.664e-05/0.0107, allocations: 39.61 kB / 385.5 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.01095, allocations: 19.98 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000371/0.01132, allocations: 233.1 kB / 385.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.23e-05/0.01137, allocations: 67.33 kB / 385.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.801e-05/0.01143, allocations: 28.47 kB / 385.9 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.01148, allocations: 20.48 kB / 385.9 MB, free: 10.51 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01148, allocations: 3.938 kB / 385.9 MB, free: 10.51 MB / 362.7 MB Notification: Performance of Templates: time 0.004365/0.01585, allocations: 2.724 MB / 388.6 MB, free: 7.809 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.3201728048734367]