Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 110 kB / 17.86 MB, free: 5.504 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.001183/0.001183, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.326/1.326, allocations: 222.9 MB / 242.5 MB, free: 15.47 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.1969/0.1969, allocations: 44.17 MB / 336.8 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.001411, allocations: 59.27 kB / 408.3 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1128, allocations: 60.83 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003575/0.1164, allocations: 1.684 MB / 470.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008931/0.1173, allocations: 455.1 kB / 471.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.238e-05/0.1174, allocations: 0 / 471.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.1177, allocations: 75.77 kB / 471.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.118, allocations: 47.88 kB / 471.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.1184, allocations: 169.8 kB / 471.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.1186, allocations: 87.73 kB / 471.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1187, allocations: 15.98 kB / 471.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.435e-05/0.1188, allocations: 35.84 kB / 471.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.1189, allocations: 55.81 kB / 471.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.119, allocations: 4 kB / 471.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.1191, allocations: 47.92 kB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.683e-05/0.1192, allocations: 23.92 kB / 471.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.866e-05/0.1192, allocations: 35.72 kB / 471.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.1194, allocations: 76.19 kB / 472 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1194, allocations: 0 / 472 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.1194, allocations: 4 kB / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.1194, allocations: 0 / 472 MB, free: 12.04 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.0005719/0.12, allocations: 419 kB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.12, allocations: 8.031 kB / 472.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.206e-05/0.1201, allocations: 12.75 kB / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.1203, allocations: 211.9 kB / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.1204, allocations: 4.375 kB / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.1204, allocations: 4.375 kB / 472.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.1206, allocations: 69.78 kB / 472.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1206, allocations: 0 / 472.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1206, allocations: 0 / 472.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1206, allocations: 8 kB / 472.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.1208, allocations: 43.91 kB / 472.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005422/0.1213, allocations: 316.7 kB / 473 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.1216, allocations: 62.64 kB / 473.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.292e-05/0.1217, allocations: 36.89 kB / 473.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.1217, allocations: 0 / 473.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1218, allocations: 30.56 kB / 473.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.1218, allocations: 0 / 473.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001556/0.1233, allocations: 421.1 kB / 473.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.1234, allocations: 59.34 kB / 473.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.1236, allocations: 207.3 kB / 473.8 MB, free: 9.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1236, allocations: 25.7 kB / 473.9 MB, free: 9.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.236e-05/0.1237, allocations: 108.1 kB / 474 MB, free: 9.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/0.1238, allocations: 35.45 kB / 474 MB, free: 9.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/0.1239, allocations: 21.72 kB / 474 MB, free: 9.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.124, allocations: 330.8 kB / 474.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.1241, allocations: 51.95 kB / 474.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.1243, allocations: 63.89 kB / 474.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.1246, allocations: 120.8 kB / 474.6 MB, free: 9.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1246, allocations: 0 / 474.6 MB, free: 9.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003339/0.1249, allocations: 165.8 kB / 474.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1249, allocations: 4 kB / 474.7 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.125, allocations: 4 kB / 474.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.125, allocations: 0 / 474.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1251, allocations: 31.86 kB / 474.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1251, allocations: 3.984 kB / 474.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.174e-05/0.1252, allocations: 15.91 kB / 474.8 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.1252, allocations: 4 kB / 474.8 MB, free: 8.969 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.0001194/0.1253, allocations: 130.4 kB / 474.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.1254, allocations: 11.91 kB / 474.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004222/0.1258, allocations: 199 kB / 475.1 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.1258, allocations: 3.938 kB / 475.1 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1258, allocations: 3.938 kB / 475.1 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1258, allocations: 3.938 kB / 475.1 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007469/0.1266, allocations: 0.5 MB / 475.6 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1266, allocations: 0 / 475.6 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.953e-05/0.1267, allocations: 27.92 kB / 475.7 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1267, allocations: 0 / 475.7 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.1267, allocations: 8 kB / 475.7 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.1268, allocations: 0 / 475.7 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1268, allocations: 3.984 kB / 475.7 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.1271, allocations: 269 kB / 476 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.1272, allocations: 96.89 kB / 476 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.1272, allocations: 192 / 476 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.458e-05/0.1273, allocations: 16 kB / 476.1 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.1274, allocations: 7.984 kB / 476.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.1274, allocations: 11.94 kB / 476.1 MB, free: 7.578 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.1275, allocations: 155.9 kB / 476.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1276, allocations: 0 / 476.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.1278, allocations: 31.98 kB / 476.3 MB, free: 7.395 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.001078/0.1289, allocations: 450.8 kB / 476.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003815/0.1293, allocations: 131.7 kB / 476.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.1293, allocations: 4 kB / 476.8 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.1295, allocations: 67.95 kB / 476.9 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.1299, allocations: 35.58 kB / 476.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006134/0.1305, allocations: 363.7 kB / 477.3 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.1308, allocations: 0.7199 MB / 478 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.187e-05/0.1309, allocations: 19.42 kB / 478 MB, free: 5.746 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1309, allocations: 0 / 478 MB, free: 5.746 MB / 350.1 MB Notification: Performance of Templates: time 0.00421/0.1351, allocations: 2.038 MB / 480.1 MB, free: 3.715 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches