Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 109.9 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.001097/0.001097, 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.323/1.323, allocations: 222.9 MB / 242.5 MB, free: 13.76 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.194/0.194, allocations: 44.17 MB / 336.8 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.78 kB / 408.4 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1207, allocations: 60.83 MB / 469.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003832/0.1246, allocations: 1.621 MB / 470.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.1264, allocations: 0.9998 MB / 471.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.121e-05/0.1265, allocations: 0 / 471.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002834/0.1268, allocations: 23.91 kB / 471.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.1271, allocations: 39.86 kB / 471.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.1275, allocations: 95.81 kB / 472 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.1276, allocations: 47.89 kB / 472 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1278, allocations: 15.94 kB / 472 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.215e-05/0.1278, allocations: 23.86 kB / 472 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.128, allocations: 27.91 kB / 472.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.128, allocations: 4 kB / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.1282, allocations: 39.98 kB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.203e-05/0.1282, allocations: 15.92 kB / 472.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.132e-05/0.1283, allocations: 19.86 kB / 472.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.1285, allocations: 67.91 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1285, allocations: 0 / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.729e-06/0.1285, allocations: 0 / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1285, allocations: 7.875 kB / 472.2 MB, free: 11.75 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000583/0.1291, allocations: 367.6 kB / 472.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.1292, allocations: 12.03 kB / 472.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.055e-05/0.1293, allocations: 12.83 kB / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.1295, allocations: 186.8 kB / 472.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.1296, allocations: 384 / 472.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.1296, allocations: 4.375 kB / 472.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.1298, allocations: 67.52 kB / 472.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.1298, allocations: 3.938 kB / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.1298, allocations: 0 / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1298, allocations: 8 kB / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.1299, allocations: 23.97 kB / 472.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.1304, allocations: 280.9 kB / 473.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.1306, allocations: 50.5 kB / 473.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.951e-05/0.1307, allocations: 20.94 kB / 473.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.1307, allocations: 0 / 473.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.1308, allocations: 38.5 kB / 473.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1308, allocations: 0 / 473.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006181/0.1314, allocations: 141.3 kB / 473.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.1315, allocations: 77.11 kB / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.1316, allocations: 141.8 kB / 473.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.1316, allocations: 29.7 kB / 473.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.1317, allocations: 96.06 kB / 473.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.1317, allocations: 15.75 kB / 473.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.1318, allocations: 13.72 kB / 473.8 MB, free: 9.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1319, allocations: 326.8 kB / 474.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.76e-05/0.132, allocations: 19.98 kB / 474.1 MB, free: 9.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.77e-05/0.1321, allocations: 37.69 kB / 474.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.1323, allocations: 52.83 kB / 474.2 MB, free: 9.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1323, allocations: 0 / 474.2 MB, free: 9.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002077/0.1325, allocations: 89.7 kB / 474.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1325, allocations: 4 kB / 474.3 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1325, allocations: 4 kB / 474.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1325, allocations: 4.031 kB / 474.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-05/0.1326, allocations: 11.98 kB / 474.3 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1326, allocations: 0 / 474.3 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.546e-05/0.1327, allocations: 7.984 kB / 474.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.1327, allocations: 4 kB / 474.3 MB, free: 9.398 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 (5): * Single equations (assignments): 5 * 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 9.112e-05/0.1328, allocations: 118.3 kB / 474.4 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.1328, allocations: 3.906 kB / 474.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.1331, allocations: 109.5 kB / 474.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1331, allocations: 0 / 474.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.1331, allocations: 0 / 474.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1331, allocations: 0 / 474.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.1336, allocations: 354.5 kB / 474.9 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1336, allocations: 0 / 474.9 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-05/0.1336, allocations: 11.94 kB / 474.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.1337, allocations: 11.98 kB / 474.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.1337, allocations: 0 / 474.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1337, allocations: 3.938 kB / 474.9 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1337, allocations: 0 / 474.9 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.1339, allocations: 179.4 kB / 475.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.134, allocations: 77.11 kB / 475.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.134, allocations: 256 / 475.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/0.1341, allocations: 19.94 kB / 475.2 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.1342, allocations: 7.984 kB / 475.2 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.1342, allocations: 0 / 475.2 MB, free: 8.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.263e-05/0.1343, allocations: 108.1 kB / 475.3 MB, free: 8.309 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1343, allocations: 3.938 kB / 475.3 MB, free: 8.305 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002958/0.1346, allocations: 23.91 kB / 475.3 MB, free: 8.281 MB / 350.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 (5): * Single equations (assignments): 5 * 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.001054/0.1356, allocations: 455.3 kB / 475.8 MB, free: 8.004 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.1359, allocations: 47.97 kB / 475.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1359, allocations: 0 / 475.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.206e-05/0.136, allocations: 27.98 kB / 475.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.1364, allocations: 19.98 kB / 475.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.1368, allocations: 208.8 kB / 476.1 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.1371, allocations: 0.6866 MB / 476.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.659e-05/0.1372, allocations: 15.42 kB / 476.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1372, allocations: 4 kB / 476.8 MB, free: 6.941 MB / 350.1 MB Notification: Performance of Templates: time 0.003559/0.1407, allocations: 1.576 MB / 478.4 MB, free: 5.367 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches