Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 107.3 kB / 16.4 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 185.5 kB / 17.33 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2172/0.2172, allocations: 43.53 MB / 314.1 MB, free: 440 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 77.44 kB / 441.8 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1314, allocations: 57.79 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.003328/0.1348, allocations: 1.659 MB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008156/0.1356, allocations: 347.4 kB / 0.4899 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.865e-05/0.1357, allocations: 4 kB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.136, allocations: 27.8 kB / 0.4899 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.1362, allocations: 39.78 kB / 0.4899 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.1366, allocations: 119.6 kB / 0.49 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.1368, allocations: 75.77 kB / 0.4901 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1369, allocations: 20.22 kB / 0.4901 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.194e-05/0.137, allocations: 35.84 kB / 0.4902 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.099e-05/0.1371, allocations: 35.84 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.1371, allocations: 7.938 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.1373, allocations: 55.97 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.765e-05/0.1374, allocations: 19.92 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.1374, allocations: 35.78 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.1377, allocations: 111.6 kB / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1377, allocations: 0 / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1377, allocations: 0 / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1377, allocations: 0 / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006418/0.1383, allocations: 418.8 kB / 0.4908 GB, free: 8.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1384, allocations: 12.03 kB / 0.4908 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.1384, allocations: 8.891 kB / 0.4908 GB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.1387, allocations: 196.2 kB / 0.491 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.1387, allocations: 4.375 kB / 0.491 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.1387, allocations: 8.375 kB / 0.491 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.139, allocations: 91.48 kB / 0.4911 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.139, allocations: 0 / 0.4911 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.1391, allocations: 4 kB / 0.4911 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1391, allocations: 3.938 kB / 0.4911 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002954/0.1394, allocations: 75.91 kB / 0.4912 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005115/0.1399, allocations: 292.8 kB / 0.4915 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.1401, allocations: 74.47 kB / 0.4916 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.1403, allocations: 40.95 kB / 0.4916 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.1403, allocations: 4.062 kB / 0.4916 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.1404, allocations: 42.48 kB / 0.4916 GB, free: 7.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.1404, allocations: 4 kB / 0.4916 GB, free: 7.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001519/0.1419, allocations: 369 kB / 0.492 GB, free: 7.375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.142, allocations: 81.11 kB / 0.4921 GB, free: 7.277 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.1422, allocations: 148.3 kB / 0.4922 GB, free: 7.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.1422, allocations: 25.7 kB / 0.4922 GB, free: 7.094 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.63e-05/0.1423, allocations: 100.1 kB / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.1424, allocations: 27.75 kB / 0.4924 GB, free: 6.965 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.1424, allocations: 21.7 kB / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1425, allocations: 330.8 kB / 0.4927 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.1428, allocations: 59.94 kB / 0.4928 GB, free: 6.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.1431, allocations: 89.62 kB / 0.4928 GB, free: 6.453 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000497/0.1436, allocations: 140.7 kB / 0.493 GB, free: 6.312 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1436, allocations: 3.938 kB / 0.493 GB, free: 6.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005562/0.1441, allocations: 185.5 kB / 0.4932 GB, free: 6.121 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1442, allocations: 4 kB / 0.4932 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1442, allocations: 0 / 0.4932 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.1442, allocations: 0 / 0.4932 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.1444, allocations: 39.95 kB / 0.4932 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1444, allocations: 0 / 0.4932 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.1446, allocations: 27.91 kB / 0.4932 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.1446, allocations: 0 / 0.4932 GB, free: 6.051 MB / 382.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 (8): * Single equations (assignments): 8 * 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.521e-05/0.1447, allocations: 133.7 kB / 0.4933 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.1447, allocations: 7.953 kB / 0.4934 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006185/0.1453, allocations: 202.5 kB / 0.4936 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1453, allocations: 0 / 0.4936 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1454, allocations: 4 kB / 0.4936 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1454, allocations: 7.938 kB / 0.4936 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008556/0.1462, allocations: 462.3 kB / 0.494 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1462, allocations: 0 / 0.494 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.1464, allocations: 43.95 kB / 0.494 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1464, allocations: 0 / 0.494 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.1464, allocations: 7.938 kB / 0.4941 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.1464, allocations: 0 / 0.4941 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1465, allocations: 3.938 kB / 0.4941 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005973/0.1471, allocations: 279.4 kB / 0.4943 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.1471, allocations: 85 kB / 0.4944 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.1471, allocations: 8.297 kB / 0.4944 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.1473, allocations: 27.97 kB / 0.4944 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.1474, allocations: 15.97 kB / 0.4945 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.1474, allocations: 4 kB / 0.4945 GB, free: 4.676 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.085e-05/0.1475, allocations: 114.1 kB / 0.4946 GB, free: 4.566 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1475, allocations: 0 / 0.4946 GB, free: 4.566 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.1477, allocations: 31.92 kB / 0.4946 GB, free: 4.535 MB / 382.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 (8): * Single equations (assignments): 8 * 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.001004/0.1488, allocations: 449.6 kB / 0.495 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000598/0.1494, allocations: 147.8 kB / 0.4952 GB, free: 3.988 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.1494, allocations: 7.938 kB / 0.4952 GB, free: 3.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002685/0.1497, allocations: 79.86 kB / 0.4953 GB, free: 3.902 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.15, allocations: 24.16 kB / 0.4953 GB, free: 3.879 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/0.1504, allocations: 201.7 kB / 0.4955 GB, free: 3.656 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.1508, allocations: 0.7041 MB / 0.4962 GB, free: 2.926 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.453e-05/0.1509, allocations: 8.656 kB / 0.4962 GB, free: 2.918 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.1509, allocations: 15.44 kB / 0.4962 GB, free: 2.902 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1509, allocations: 4 kB / 0.4962 GB, free: 2.898 MB / 382.1 MB Notification: Performance of Templates: time 0.004621/0.1556, allocations: 2.024 MB / 0.4982 GB, free: 0.875 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches