Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001488, allocations: 107.5 kB / 16.41 MB, free: 6.488 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.001514/0.001514, 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.578/1.578, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2242/0.2242, allocations: 43.53 MB / 314.1 MB, free: 468 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.001541/0.001541, allocations: 60.47 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1291, allocations: 57.8 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003138/0.1323, allocations: 1.608 MB / 0.4895 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006692/0.133, allocations: 351.5 kB / 0.4898 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.896e-05/0.1331, allocations: 3.938 kB / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.1333, allocations: 47.81 kB / 0.4898 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.1336, allocations: 47.83 kB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.1339, allocations: 159.6 kB / 0.49 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.1341, allocations: 63.83 kB / 0.4901 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1342, allocations: 27.91 kB / 0.4901 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.693e-05/0.1343, allocations: 31.91 kB / 0.4902 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.137e-05/0.1344, allocations: 35.84 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.1344, allocations: 4 kB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.581e-05/0.1345, allocations: 35.98 kB / 0.4902 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.537e-05/0.1346, allocations: 23.92 kB / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.136e-05/0.1346, allocations: 23.8 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.1348, allocations: 95.64 kB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1348, allocations: 4 kB / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1348, allocations: 0 / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1348, allocations: 0 / 0.4904 GB, free: 9.227 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004921/0.1353, allocations: 383.1 kB / 0.4907 GB, free: 8.805 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1354, allocations: 19.89 kB / 0.4908 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.1354, allocations: 12.83 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.1356, allocations: 199.5 kB / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1357, allocations: 8.375 kB / 0.491 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.1357, allocations: 384 / 0.491 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.1359, allocations: 69.72 kB / 0.491 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1359, allocations: 4 kB / 0.491 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.1359, allocations: 0 / 0.491 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1359, allocations: 0 / 0.491 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.1361, allocations: 43.97 kB / 0.4911 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.1365, allocations: 296.8 kB / 0.4914 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.1366, allocations: 50.48 kB / 0.4914 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.434e-05/0.1367, allocations: 24.94 kB / 0.4914 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.1367, allocations: 8 kB / 0.4914 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.1368, allocations: 34.56 kB / 0.4915 GB, free: 7.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1368, allocations: 0 / 0.4915 GB, free: 7.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007575/0.1375, allocations: 233 kB / 0.4917 GB, free: 7.703 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.1376, allocations: 55.41 kB / 0.4918 GB, free: 7.637 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.1378, allocations: 165.8 kB / 0.4919 GB, free: 7.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.1378, allocations: 25.7 kB / 0.4919 GB, free: 7.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.802e-05/0.1378, allocations: 104.1 kB / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.1379, allocations: 27.72 kB / 0.4921 GB, free: 7.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.1379, allocations: 21.7 kB / 0.4921 GB, free: 7.273 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.138, allocations: 322.8 kB / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.1382, allocations: 39.97 kB / 0.4924 GB, free: 6.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.1383, allocations: 35.97 kB / 0.4925 GB, free: 6.875 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.1385, allocations: 84.8 kB / 0.4925 GB, free: 6.789 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1385, allocations: 0 / 0.4925 GB, free: 6.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000276/0.1388, allocations: 129.5 kB / 0.4927 GB, free: 6.656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1388, allocations: 4 kB / 0.4927 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.1388, allocations: 0 / 0.4927 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1389, allocations: 0 / 0.4927 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.139, allocations: 19.98 kB / 0.4927 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.139, allocations: 3.938 kB / 0.4927 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.85e-05/0.1391, allocations: 15.98 kB / 0.4927 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.1391, allocations: 4 kB / 0.4927 GB, free: 6.609 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 (7): * Single equations (assignments): 7 * 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.286e-05/0.1392, allocations: 125.8 kB / 0.4928 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.1392, allocations: 11.81 kB / 0.4928 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003404/0.1396, allocations: 150.2 kB / 0.493 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.1396, allocations: 4 kB / 0.493 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1396, allocations: 3.938 kB / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1396, allocations: 4 kB / 0.493 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005195/0.1401, allocations: 402.5 kB / 0.4934 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1401, allocations: 0 / 0.4934 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.031e-05/0.1402, allocations: 19.98 kB / 0.4934 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1402, allocations: 3.938 kB / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.1402, allocations: 0 / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1402, allocations: 4 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1403, allocations: 0 / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.1406, allocations: 219.8 kB / 0.4936 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/0.1407, allocations: 93.23 kB / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.1407, allocations: 0 / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.458e-05/0.1408, allocations: 11.98 kB / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.1408, allocations: 15.91 kB / 0.4937 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.1408, allocations: 4 kB / 0.4937 GB, free: 5.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.505e-05/0.1409, allocations: 132 kB / 0.4939 GB, free: 5.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1409, allocations: 0 / 0.4939 GB, free: 5.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002356/0.1412, allocations: 16 kB / 0.4939 GB, free: 5.305 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 (7): * Single equations (assignments): 7 * 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.0009271/0.1421, allocations: 412.4 kB / 0.4943 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003182/0.1424, allocations: 91.92 kB / 0.4944 GB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1425, allocations: 0 / 0.4944 GB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.1426, allocations: 47.91 kB / 0.4944 GB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.143, allocations: 28.09 kB / 0.4944 GB, free: 4.773 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.1434, allocations: 225.8 kB / 0.4946 GB, free: 4.527 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.1437, allocations: 0.7119 MB / 0.4953 GB, free: 3.789 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.318e-05/0.1438, allocations: 19.97 kB / 0.4954 GB, free: 3.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.1439, allocations: 11.44 kB / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1439, allocations: 0 / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of Templates: time 0.003694/0.1476, allocations: 1.296 MB / 0.4966 GB, free: 2.461 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches