Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 111.1 kB / 16.41 MB, free: 6.027 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.001331/0.001331, allocations: 187.6 kB / 17.34 MB, free: 5.633 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.443/1.443, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2116/0.2116, allocations: 43.52 MB / 314.1 MB, free: 472 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.001702/0.001702, allocations: 67.91 kB / 441.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1306, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.003591/0.1342, allocations: 1.55 MB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.1359, allocations: 0.934 MB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.849e-05/0.136, allocations: 4 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002805/0.1363, allocations: 27.84 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.1366, allocations: 35.8 kB / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.137, allocations: 79.77 kB / 0.4905 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.1372, allocations: 59.78 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.1373, allocations: 19.97 kB / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.604e-05/0.1374, allocations: 15.94 kB / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.1375, allocations: 31.84 kB / 0.4906 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.1376, allocations: 4 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.1377, allocations: 47.97 kB / 0.4906 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.387e-05/0.1378, allocations: 11.92 kB / 0.4906 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.34e-05/0.1379, allocations: 23.86 kB / 0.4907 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.1381, allocations: 83.78 kB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1381, allocations: 0 / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1382, allocations: 0 / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1382, allocations: 0 / 0.4907 GB, free: 8.867 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.000599/0.1388, allocations: 391.1 kB / 0.4911 GB, free: 8.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.1388, allocations: 15.89 kB / 0.4911 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.1389, allocations: 4.938 kB / 0.4911 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.1391, allocations: 188.2 kB / 0.4913 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1391, allocations: 4.375 kB / 0.4913 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.1392, allocations: 4.312 kB / 0.4913 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.1394, allocations: 67.52 kB / 0.4914 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1394, allocations: 0 / 0.4914 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1394, allocations: 0 / 0.4914 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1394, allocations: 8 kB / 0.4914 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.267e-05/0.1395, allocations: 19.98 kB / 0.4914 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.1399, allocations: 268.9 kB / 0.4917 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.1401, allocations: 42.5 kB / 0.4917 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.994e-05/0.1402, allocations: 12.86 kB / 0.4917 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.1402, allocations: 8.078 kB / 0.4917 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.1403, allocations: 42.56 kB / 0.4918 GB, free: 7.645 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.1403, allocations: 0 / 0.4918 GB, free: 7.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005408/0.1408, allocations: 137.3 kB / 0.4919 GB, free: 7.504 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.1409, allocations: 77.11 kB / 0.492 GB, free: 7.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.141, allocations: 137.8 kB / 0.4921 GB, free: 7.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.141, allocations: 25.7 kB / 0.4921 GB, free: 7.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.1411, allocations: 92.05 kB / 0.4922 GB, free: 7.141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.1411, allocations: 15.8 kB / 0.4922 GB, free: 7.125 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.1412, allocations: 17.72 kB / 0.4923 GB, free: 7.102 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1413, allocations: 326.7 kB / 0.4926 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.23e-05/0.1414, allocations: 11.98 kB / 0.4926 GB, free: 6.762 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.072e-05/0.1415, allocations: 41.62 kB / 0.4926 GB, free: 6.715 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.1416, allocations: 44.84 kB / 0.4927 GB, free: 6.668 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1416, allocations: 0 / 0.4927 GB, free: 6.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001706/0.1418, allocations: 81.52 kB / 0.4927 GB, free: 6.582 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1418, allocations: 7.984 kB / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1418, allocations: 0 / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1418, allocations: 0 / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.656e-05/0.1419, allocations: 16.03 kB / 0.4928 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1419, allocations: 3.984 kB / 0.4928 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.298e-05/0.1419, allocations: 11.98 kB / 0.4928 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.142, allocations: 3.938 kB / 0.4928 GB, free: 6.539 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 8.156e-05/0.142, allocations: 125.7 kB / 0.4929 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.1421, allocations: 4 kB / 0.4929 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.1423, allocations: 89.53 kB / 0.493 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1423, allocations: 4.312 kB / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1423, allocations: 0 / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1423, allocations: 0 / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004061/0.1427, allocations: 350.4 kB / 0.4933 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1428, allocations: 0 / 0.4933 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.334e-05/0.1428, allocations: 19.98 kB / 0.4933 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.1428, allocations: 0 / 0.4933 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.1428, allocations: 0 / 0.4933 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1428, allocations: 7.938 kB / 0.4933 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1429, allocations: 0 / 0.4933 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.1431, allocations: 171.5 kB / 0.4935 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.1431, allocations: 89 kB / 0.4936 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.1431, allocations: 288 / 0.4936 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.421e-05/0.1432, allocations: 7.938 kB / 0.4936 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.1433, allocations: 4 kB / 0.4936 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.1433, allocations: 7.984 kB / 0.4936 GB, free: 5.566 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.937e-05/0.1433, allocations: 99.77 kB / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1434, allocations: 0 / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.1436, allocations: 24 kB / 0.4937 GB, free: 5.445 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.001069/0.1447, allocations: 448.2 kB / 0.4942 GB, free: 5.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.1449, allocations: 43.97 kB / 0.4942 GB, free: 5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1449, allocations: 0 / 0.4942 GB, free: 5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.883e-05/0.145, allocations: 31.91 kB / 0.4942 GB, free: 4.969 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.1454, allocations: 19.8 kB / 0.4943 GB, free: 4.949 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.1457, allocations: 157.4 kB / 0.4944 GB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.146, allocations: 0.6885 MB / 0.4951 GB, free: 4.055 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.352e-05/0.1461, allocations: 12.23 kB / 0.4951 GB, free: 4.043 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.1461, allocations: 15.44 kB / 0.4951 GB, free: 4.027 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1461, allocations: 0 / 0.4951 GB, free: 4.027 MB / 382.1 MB Notification: Performance of Templates: time 0.00414/0.1503, allocations: 1.357 MB / 0.4964 GB, free: 2.672 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches