Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008276/0.0008276, allocations: 101.6 kB / 18.01 MB, free: 5.73 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.000936/0.0009361, allocations: 176.2 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.3 MB / 243 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2085/0.2085, allocations: 44.24 MB / 338.3 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003417, allocations: 8.719 kB / 411 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1042, allocations: 61.92 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002501/0.1067, allocations: 1.663 MB / 474.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.1086, allocations: 1.104 MB / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.1088, allocations: 4 kB / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002742/0.1091, allocations: 39.77 kB / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.1095, allocations: 127.5 kB / 475.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.1108, allocations: 0.5594 MB / 476.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000414/0.1112, allocations: 267.1 kB / 476.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.1114, allocations: 76.61 kB / 476.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.1117, allocations: 103.5 kB / 476.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.112, allocations: 167.3 kB / 477 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.478e-05/0.112, allocations: 4 kB / 477 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.1122, allocations: 51.97 kB / 477.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.1123, allocations: 143.5 kB / 477.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.1125, allocations: 164.5 kB / 477.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.1128, allocations: 271.5 kB / 477.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1128, allocations: 0 / 477.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1128, allocations: 0 / 477.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.1128, allocations: 0 / 477.6 MB, free: 8.574 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009192/0.1138, allocations: 0.6845 MB / 478.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1138, allocations: 12.03 kB / 478.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.1139, allocations: 48.28 kB / 478.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005447/0.1145, allocations: 443.9 kB / 478.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1145, allocations: 8.375 kB / 478.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.1146, allocations: 16.12 kB / 478.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.1149, allocations: 151.2 kB / 479 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.1149, allocations: 4 kB / 479 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.1149, allocations: 8 kB / 479 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.1149, allocations: 0 / 479 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/0.1152, allocations: 107.9 kB / 479.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009595/0.1162, allocations: 0.6837 MB / 479.8 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.1164, allocations: 125.2 kB / 479.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.1166, allocations: 49.81 kB / 480 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.1166, allocations: 4 kB / 480 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1166, allocations: 46.44 kB / 480 MB, free: 6.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.1166, allocations: 0 / 480 MB, free: 6.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001523/0.1182, allocations: 0.5725 MB / 480.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.1182, allocations: 77.11 kB / 480.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009495/0.1192, allocations: 0.8544 MB / 481.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.1192, allocations: 29.69 kB / 481.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.1194, allocations: 252.2 kB / 481.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.424e-05/0.1195, allocations: 51.25 kB / 481.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.1195, allocations: 13.72 kB / 481.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1196, allocations: 374.7 kB / 482.2 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.1198, allocations: 75.95 kB / 482.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.12, allocations: 85.66 kB / 482.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.1205, allocations: 177.7 kB / 482.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1205, allocations: 4 kB / 482.5 MB, free: 3.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005161/0.121, allocations: 256.9 kB / 482.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.121, allocations: 6.812 kB / 482.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.121, allocations: 4 kB / 482.8 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.121, allocations: 0 / 482.8 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.1213, allocations: 43.91 kB / 482.8 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.1213, allocations: 4 kB / 482.9 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.1214, allocations: 15.92 kB / 482.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.1214, allocations: 8 kB / 482.9 MB, free: 3.059 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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 0.0002031/0.1217, allocations: 217.7 kB / 483.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.779e-05/0.1218, allocations: 55.33 kB / 483.1 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006333/0.1224, allocations: 298.7 kB / 483.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.1224, allocations: 4 kB / 483.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1224, allocations: 0 / 483.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.1224, allocations: 0 / 483.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.1236, allocations: 0.8139 MB / 484.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.1236, allocations: 4 kB / 484.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.1238, allocations: 39.97 kB / 484.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1238, allocations: 0 / 484.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.1238, allocations: 4 kB / 484.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.1238, allocations: 7.922 kB / 484.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1238, allocations: 0 / 484.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005657/0.1244, allocations: 434 kB / 484.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.1245, allocations: 144.4 kB / 484.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.1246, allocations: 12 kB / 484.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.1248, allocations: 23.8 kB / 484.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.1248, allocations: 15.98 kB / 484.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.1249, allocations: 4 kB / 484.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006736/0.1255, allocations: 0.6237 MB / 485.6 MB, free: 284 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1256, allocations: 0 / 485.6 MB, free: 284 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003614/0.1259, allocations: 52 kB / 485.6 MB, free: 232 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0009771/0.1269, allocations: 404.2 kB / 486 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004488/0.1274, allocations: 179.8 kB / 486.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1274, allocations: 0 / 486.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.1276, allocations: 91.89 kB / 486.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006366/0.1283, allocations: 66.27 kB / 486.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.1297, allocations: 1.044 MB / 487.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.1301, allocations: 0.8611 MB / 488.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.1302, allocations: 43.42 kB / 488.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1303, allocations: 0 / 488.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of Templates: time 0.009086/0.1393, allocations: 5.479 MB / 493.8 MB, free: 8.168 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches