Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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",fileNamePrefix="ModelicaTest_3.2.3_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",fileNamePrefix="ModelicaTest_3.2.3_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.001293/0.001293, allocations: 111.2 kB / 16.41 MB, free: 6.492 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.001221/0.001221, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.1 MB / 223.2 MB, free: 12.1 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2079/0.2079, allocations: 43.53 MB / 314.1 MB, free: 444 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 67.91 kB / 441.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1191, allocations: 57.8 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.00356/0.1228, allocations: 1.538 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007289/0.1235, allocations: 335.4 kB / 0.4897 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.674e-05/0.1236, allocations: 0 / 0.4897 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.1239, allocations: 71.78 kB / 0.4898 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.1242, allocations: 63.73 kB / 0.4898 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.1245, allocations: 71.84 kB / 0.4899 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.1247, allocations: 63.89 kB / 0.49 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.1248, allocations: 19.95 kB / 0.49 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.477e-05/0.1249, allocations: 35.8 kB / 0.49 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.1251, allocations: 51.88 kB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1251, allocations: 4 kB / 0.4901 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-05/0.1252, allocations: 28 kB / 0.4901 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.692e-05/0.1252, allocations: 15.92 kB / 0.4901 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.026e-05/0.1253, allocations: 35.72 kB / 0.4902 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.1255, allocations: 79.73 kB / 0.4902 GB, free: 9.348 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1255, allocations: 0 / 0.4902 GB, free: 9.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1255, allocations: 0 / 0.4902 GB, free: 9.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1255, allocations: 0 / 0.4902 GB, free: 9.348 MB / 382.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.0005132/0.126, allocations: 407 kB / 0.4906 GB, free: 8.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1261, allocations: 11.89 kB / 0.4906 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.962e-05/0.1262, allocations: 8.844 kB / 0.4906 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.1264, allocations: 200.1 kB / 0.4908 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.1264, allocations: 384 / 0.4908 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.1264, allocations: 384 / 0.4908 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.1266, allocations: 49.81 kB / 0.4909 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.1267, allocations: 3.984 kB / 0.4909 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.1267, allocations: 11.98 kB / 0.4909 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1267, allocations: 0 / 0.4909 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.399e-05/0.1268, allocations: 23.92 kB / 0.4909 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/0.1272, allocations: 280.8 kB / 0.4912 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.1275, allocations: 42.5 kB / 0.4912 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.516e-05/0.1275, allocations: 24.94 kB / 0.4913 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.1276, allocations: 0 / 0.4913 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.1276, allocations: 34.5 kB / 0.4913 GB, free: 8.109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.1276, allocations: 0 / 0.4913 GB, free: 8.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005662/0.1282, allocations: 141.2 kB / 0.4914 GB, free: 7.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.1282, allocations: 51.41 kB / 0.4915 GB, free: 7.902 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.1284, allocations: 206.2 kB / 0.4917 GB, free: 7.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.1285, allocations: 25.7 kB / 0.4917 GB, free: 7.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.712e-05/0.1285, allocations: 104.1 kB / 0.4918 GB, free: 7.555 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.1286, allocations: 19.66 kB / 0.4918 GB, free: 7.535 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.1286, allocations: 17.72 kB / 0.4918 GB, free: 7.512 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1287, allocations: 330.7 kB / 0.4921 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.372e-05/0.1288, allocations: 19.98 kB / 0.4922 GB, free: 7.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.974e-05/0.1289, allocations: 16.17 kB / 0.4922 GB, free: 7.145 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.129, allocations: 52.83 kB / 0.4922 GB, free: 7.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.129, allocations: 0 / 0.4922 GB, free: 7.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001675/0.1292, allocations: 81.52 kB / 0.4923 GB, free: 7.004 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1292, allocations: 7.281 kB / 0.4923 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1292, allocations: 0 / 0.4923 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1292, allocations: 4 kB / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.888e-05/0.1293, allocations: 15.98 kB / 0.4923 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1293, allocations: 0 / 0.4923 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.945e-05/0.1294, allocations: 7.984 kB / 0.4923 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1294, allocations: 3.984 kB / 0.4923 GB, free: 6.969 MB / 382.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 0.0001167/0.1295, allocations: 133.7 kB / 0.4925 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.1295, allocations: 7.906 kB / 0.4925 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.1298, allocations: 93.89 kB / 0.4926 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1298, allocations: 4 kB / 0.4926 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1298, allocations: 0 / 0.4926 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1298, allocations: 4 kB / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004009/0.1302, allocations: 346.5 kB / 0.4929 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1302, allocations: 0 / 0.4929 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.204e-05/0.1303, allocations: 16.17 kB / 0.4929 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1303, allocations: 0 / 0.4929 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1303, allocations: 11.94 kB / 0.4929 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.247e-06/0.1303, allocations: 7.938 kB / 0.4929 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1303, allocations: 3.938 kB / 0.4929 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.1305, allocations: 183.3 kB / 0.4931 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.1306, allocations: 81.02 kB / 0.4932 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.1306, allocations: 0 / 0.4932 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.129e-05/0.1307, allocations: 7.938 kB / 0.4932 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.1307, allocations: 11.98 kB / 0.4932 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.1307, allocations: 0 / 0.4932 GB, free: 5.965 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.1309, allocations: 164 kB / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1309, allocations: 0 / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.1311, allocations: 20 kB / 0.4934 GB, free: 5.785 MB / 382.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.000904/0.132, allocations: 407.9 kB / 0.4938 GB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.1322, allocations: 51.91 kB / 0.4938 GB, free: 5.371 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1323, allocations: 0 / 0.4938 GB, free: 5.371 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.69e-05/0.1323, allocations: 23.98 kB / 0.4939 GB, free: 5.348 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.1327, allocations: 15.84 kB / 0.4939 GB, free: 5.332 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004648/0.1332, allocations: 210 kB / 0.4941 GB, free: 5.102 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.1335, allocations: 0.704 MB / 0.4948 GB, free: 4.371 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.858e-05/0.1336, allocations: 15.92 kB / 0.4948 GB, free: 4.355 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.1336, allocations: 11.44 kB / 0.4948 GB, free: 4.344 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1336, allocations: 0 / 0.4948 GB, free: 4.344 MB / 382.1 MB Notification: Performance of Templates: time 0.004049/0.1377, allocations: 1.109 MB / 0.4959 GB, free: 3.234 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches