Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001612, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001889/0.001889, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.399/1.399, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2135/0.2135, allocations: 44.18 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 67.89 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1177, allocations: 60.82 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003015/0.1208, allocations: 1.564 MB / 471.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007781/0.1216, allocations: 411.2 kB / 471.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.123e-05/0.1217, allocations: 3.938 kB / 471.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.122, allocations: 75.78 kB / 472 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.1222, allocations: 63.8 kB / 472 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.1225, allocations: 95.33 kB / 472.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.1227, allocations: 79.81 kB / 472.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1228, allocations: 12.19 kB / 472.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.705e-05/0.1228, allocations: 39.77 kB / 472.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.1229, allocations: 47.89 kB / 472.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.123, allocations: 7.938 kB / 472.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.7e-05/0.1231, allocations: 51.97 kB / 472.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.1231, allocations: 15.98 kB / 472.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.1232, allocations: 27.75 kB / 472.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.1233, allocations: 99.98 kB / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1234, allocations: 0 / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1234, allocations: 0 / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1234, allocations: 0 / 472.5 MB, free: 11.78 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004819/0.1239, allocations: 403 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1239, allocations: 12.02 kB / 472.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.124, allocations: 16.78 kB / 472.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.1242, allocations: 196.1 kB / 473.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.1242, allocations: 8.375 kB / 473.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.1242, allocations: 4.375 kB / 473.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.1244, allocations: 53.61 kB / 473.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1244, allocations: 3.906 kB / 473.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1244, allocations: 4 kB / 473.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1244, allocations: 0 / 473.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.985e-05/0.1245, allocations: 31.95 kB / 473.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.1249, allocations: 288.8 kB / 473.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.125, allocations: 50.55 kB / 473.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.521e-05/0.1251, allocations: 8.859 kB / 473.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.1251, allocations: 4 kB / 473.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.1251, allocations: 34.56 kB / 473.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.1251, allocations: 3.938 kB / 473.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008934/0.126, allocations: 221.2 kB / 473.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.1261, allocations: 55.41 kB / 473.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.1263, allocations: 218.1 kB / 474.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.1263, allocations: 25.7 kB / 474.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.1264, allocations: 104 kB / 474.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.1264, allocations: 27.64 kB / 474.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.1264, allocations: 17.72 kB / 474.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1266, allocations: 326.8 kB / 474.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.844e-05/0.1267, allocations: 23.98 kB / 474.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.496e-05/0.1267, allocations: 23.98 kB / 474.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.1269, allocations: 60.83 kB / 474.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1269, allocations: 0 / 474.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002081/0.1271, allocations: 117.3 kB / 474.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1271, allocations: 10.44 kB / 474.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1271, allocations: 0 / 474.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1272, allocations: 0 / 474.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.989e-05/0.1273, allocations: 23.98 kB / 474.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1273, allocations: 3.938 kB / 474.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.174e-05/0.1273, allocations: 4 kB / 474.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.1273, allocations: 4 kB / 474.8 MB, free: 9.219 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 (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 9.617e-05/0.1274, allocations: 125.8 kB / 475 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.1275, allocations: 7.906 kB / 475 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/0.1278, allocations: 122.3 kB / 475.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1278, allocations: 0 / 475.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.1278, allocations: 3.938 kB / 475.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1278, allocations: 0 / 475.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005136/0.1283, allocations: 403.6 kB / 475.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1283, allocations: 0 / 475.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.219e-05/0.1284, allocations: 27.97 kB / 475.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1284, allocations: 3.984 kB / 475.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1284, allocations: 0 / 475.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.1284, allocations: 4 kB / 475.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1284, allocations: 0 / 475.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.1287, allocations: 208.3 kB / 475.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.1288, allocations: 88.95 kB / 475.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.1288, allocations: 4 kB / 475.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.1289, allocations: 0 / 475.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.1289, allocations: 8.406 kB / 475.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.1289, allocations: 4 kB / 475.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.1291, allocations: 155.2 kB / 476 MB, free: 7.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1291, allocations: 0 / 476 MB, free: 7.965 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.1293, allocations: 16 kB / 476 MB, free: 7.949 MB / 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 (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.001068/0.1304, allocations: 474.1 kB / 476.5 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002399/0.1307, allocations: 63.95 kB / 476.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1307, allocations: 4 kB / 476.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.699e-05/0.1308, allocations: 31.92 kB / 476.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.1311, allocations: 31.02 kB / 476.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.1316, allocations: 272.9 kB / 476.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.1319, allocations: 0.708 MB / 477.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.565e-05/0.1319, allocations: 15.44 kB / 477.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1319, allocations: 0 / 477.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of Templates: time 0.003422/0.1354, allocations: 1.701 MB / 479.3 MB, free: 4.789 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches