Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001068/0.001068, allocations: 194 kB / 18.77 MB, free: 4.742 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.335/1.335, allocations: 222.9 MB / 242.4 MB, free: 15.42 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.2217/0.2217, allocations: 44.17 MB / 336.8 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 64.34 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1197, allocations: 60.82 MB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003591/0.1233, allocations: 1.692 MB / 470.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008885/0.1243, allocations: 447.2 kB / 471.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.23e-05/0.1244, allocations: 0 / 471.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.1247, allocations: 75.83 kB / 471.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.1249, allocations: 47.88 kB / 471.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004411/0.1253, allocations: 175.3 kB / 471.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.1255, allocations: 79.81 kB / 471.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1256, allocations: 19.98 kB / 471.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.15e-05/0.1257, allocations: 39.83 kB / 471.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.1258, allocations: 51.77 kB / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.1259, allocations: 4 kB / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.126, allocations: 47.97 kB / 471.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.193e-05/0.1261, allocations: 23.92 kB / 471.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.956e-05/0.1261, allocations: 31.73 kB / 471.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.1263, allocations: 92.16 kB / 472 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1263, allocations: 0 / 472 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1263, allocations: 0 / 472 MB, free: 12.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1263, allocations: 0 / 472 MB, free: 12.01 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005523/0.1269, allocations: 415 kB / 472.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.1269, allocations: 8.031 kB / 472.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.112e-05/0.127, allocations: 16.75 kB / 472.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.1272, allocations: 204 kB / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1272, allocations: 384 / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.1273, allocations: 8.375 kB / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.1275, allocations: 73.73 kB / 472.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1275, allocations: 3.938 kB / 472.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1275, allocations: 0 / 472.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1275, allocations: 0 / 472.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.1277, allocations: 43.95 kB / 472.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005349/0.1283, allocations: 324.7 kB / 473.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.1285, allocations: 66.58 kB / 473.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.332e-05/0.1286, allocations: 24.97 kB / 473.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.1287, allocations: 0 / 473.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.1287, allocations: 38.56 kB / 473.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.1287, allocations: 0 / 473.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00155/0.1303, allocations: 412.8 kB / 473.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.1303, allocations: 59.28 kB / 473.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.1305, allocations: 211.3 kB / 473.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.1306, allocations: 25.7 kB / 473.9 MB, free: 9.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.718e-05/0.1306, allocations: 108.1 kB / 474 MB, free: 9.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.1307, allocations: 35.45 kB / 474 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.1308, allocations: 25.66 kB / 474 MB, free: 9.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1309, allocations: 330.8 kB / 474.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.131, allocations: 51.95 kB / 474.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.1312, allocations: 59.89 kB / 474.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.1315, allocations: 124.8 kB / 474.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1315, allocations: 0 / 474.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003487/0.1318, allocations: 157.5 kB / 474.7 MB, free: 9.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1319, allocations: 11.94 kB / 474.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1319, allocations: 3.938 kB / 474.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1319, allocations: 0 / 474.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.132, allocations: 31.91 kB / 474.8 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.132, allocations: 0 / 474.8 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.365e-05/0.1321, allocations: 15.89 kB / 474.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.1321, allocations: 8.562 kB / 474.8 MB, free: 8.934 MB / 350.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 (11): * Single equations (assignments): 11 * 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.0001123/0.1322, allocations: 126.4 kB / 474.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.1323, allocations: 15.89 kB / 475 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004365/0.1327, allocations: 183.4 kB / 475.1 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1327, allocations: 7.938 kB / 475.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.1328, allocations: 4 kB / 475.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1328, allocations: 0 / 475.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007484/0.1335, allocations: 0.4999 MB / 475.6 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1335, allocations: 0 / 475.6 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.1336, allocations: 23.98 kB / 475.7 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.1337, allocations: 11.92 kB / 475.7 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.1337, allocations: 4 kB / 475.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.1337, allocations: 8.062 kB / 475.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1337, allocations: 0 / 475.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.1341, allocations: 273 kB / 476 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.802e-05/0.1342, allocations: 88.92 kB / 476 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.1342, allocations: 4 kB / 476 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.677e-05/0.1343, allocations: 15.98 kB / 476.1 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.1343, allocations: 11.97 kB / 476.1 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.1344, allocations: 4 kB / 476.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001307/0.1345, allocations: 155.9 kB / 476.2 MB, free: 7.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1345, allocations: 96 / 476.2 MB, free: 7.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002871/0.1348, allocations: 27.94 kB / 476.3 MB, free: 7.375 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001061/0.1359, allocations: 463.4 kB / 476.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000367/0.1362, allocations: 131.8 kB / 476.8 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1363, allocations: 0 / 476.8 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.1364, allocations: 67.91 kB / 476.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.1368, allocations: 29.75 kB / 476.9 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006219/0.1375, allocations: 368 kB / 477.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.1378, allocations: 0.7237 MB / 478 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.282e-05/0.1378, allocations: 15.44 kB / 478 MB, free: 5.719 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1379, allocations: 4 kB / 478 MB, free: 5.715 MB / 350.1 MB Notification: Performance of Templates: time 0.004085/0.1419, allocations: 2.035 MB / 480.1 MB, free: 3.684 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches