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.001023/0.001023, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001073/0.001073, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.084/1.084, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.2723/0.2723, allocations: 34.26 MB / 296.1 MB, free: 0.7383 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 2.185e-06/2.185e-06, allocations: 0 / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.302e-05/3.521e-05, allocations: 2.312 kB / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002852/0.002888, allocations: 1.727 MB / 380.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008911/0.003779, allocations: 0.5763 MB / 380.8 MB, free: 68 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.979e-05/0.003849, allocations: 0 / 380.8 MB, free: 68 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.00409, allocations: 31.72 kB / 380.9 MB, free: 36 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.004409, allocations: 87.48 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003819/0.004791, allocations: 175.5 kB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.004955, allocations: 99.69 kB / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.72e-05/0.005052, allocations: 11.98 kB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.819e-05/0.005141, allocations: 51.89 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.424e-05/0.005215, allocations: 35.89 kB / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.005233, allocations: 11.94 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.005405, allocations: 103.8 kB / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.959e-05/0.005464, allocations: 19.92 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.005499, allocations: 27.91 kB / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.005751, allocations: 155.5 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.005756, allocations: 0 / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.005757, allocations: 0 / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.005761, allocations: 3.938 kB / 381.6 MB, free: 15.27 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.0004518/0.006213, allocations: 459.8 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.006253, allocations: 12.03 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.00629, allocations: 8.891 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.006446, allocations: 152 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.006457, allocations: 8.359 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.006477, allocations: 384 / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.006647, allocations: 119.7 kB / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.006656, allocations: 0 / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.006664, allocations: 0 / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.006668, allocations: 0 / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.497e-05/0.006703, allocations: 15.97 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.007071, allocations: 296.3 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.663e-05/0.007168, allocations: 46.98 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.239e-05/0.00719, allocations: 15.62 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.007218, allocations: 12.05 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.007403, allocations: 41.38 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.007404, allocations: 0 / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004607/0.007865, allocations: 149.3 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.007898, allocations: 85.09 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.008, allocations: 208.1 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.008013, allocations: 29.7 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.064e-05/0.008073, allocations: 146.8 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.008095, allocations: 27.73 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.008133, allocations: 35.36 kB / 383.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.008234, allocations: 0.4961 MB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.475e-05/0.008259, allocations: 11.98 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.05e-05/0.008299, allocations: 53.06 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.622e-05/0.008355, allocations: 39.61 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.008356, allocations: 0 / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.827e-05/0.008455, allocations: 81.8 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.008466, allocations: 8.031 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.00847, allocations: 0 / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.00848, allocations: 0 / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.707e-05/0.008567, allocations: 27.97 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.008571, allocations: 4 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.187e-05/0.008613, allocations: 15.98 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.008618, allocations: 0 / 384.2 MB, free: 12.47 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.634e-05/0.008685, allocations: 160.5 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.008712, allocations: 15.91 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.008835, allocations: 90.38 kB / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.008839, allocations: 4 kB / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.00884, allocations: 0 / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.008843, allocations: 384 / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/0.009149, allocations: 345.8 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.009152, allocations: 4 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-05/0.00922, allocations: 23.98 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.009224, allocations: 7.938 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.00923, allocations: 0 / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.009232, allocations: 4 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.009234, allocations: 0 / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.009386, allocations: 235.7 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.009399, allocations: 7.953 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.009413, allocations: 0 / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.635e-05/0.009469, allocations: 15.98 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.00951, allocations: 7.984 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.009517, allocations: 8 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.337e-05/0.009581, allocations: 157.8 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009581, allocations: 0 / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002156/0.009796, allocations: 55.86 kB / 385.3 MB, free: 11.28 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.001078/0.01087, allocations: 0.4942 MB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001268/0.011, allocations: 47.61 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.011, allocations: 4 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.698e-05/0.01104, allocations: 27.61 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.01127, allocations: 27.92 kB / 385.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003749/0.01165, allocations: 225.1 kB / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.418e-05/0.01169, allocations: 71.33 kB / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.238e-05/0.01175, allocations: 20.42 kB / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.77e-05/0.01185, allocations: 94.19 kB / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of SimCode: time 1.283e-06/0.01185, allocations: 0 / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of Templates: time 0.004958/0.01681, allocations: 3.001 MB / 389.3 MB, free: 7.422 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.454310138709843]