Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 104.8 kB / 16.27 MB, free: 5.977 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.001569/0.001569, allocations: 188.1 kB / 17.19 MB, free: 5.613 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.806/1.806, allocations: 205.1 MB / 223.1 MB, free: 12.18 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.2306/0.2306, allocations: 43.53 MB / 313.9 MB, free: 0.5117 MB / 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.001493/0.001493, allocations: 67.2 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1316, allocations: 57.79 MB / 440.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002981/0.1346, allocations: 1.547 MB / 442.1 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005612/0.1352, allocations: 319.5 kB / 442.4 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.408e-05/0.1353, allocations: 0 / 442.4 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003427/0.1357, allocations: 119.7 kB / 442.5 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.1359, allocations: 91.77 kB / 442.6 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.1361, allocations: 71.78 kB / 442.7 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.1363, allocations: 79.86 kB / 442.7 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1364, allocations: 11.94 kB / 442.7 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.405e-05/0.1365, allocations: 43.88 kB / 442.8 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.1366, allocations: 79.73 kB / 442.9 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.1366, allocations: 8 kB / 442.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.866e-05/0.1367, allocations: 35.98 kB / 442.9 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.155e-05/0.1368, allocations: 27.84 kB / 442.9 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.861e-05/0.1369, allocations: 31.75 kB / 443 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.137, allocations: 91.66 kB / 443.1 MB, free: 4.355 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.137, allocations: 7.984 kB / 443.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.137, allocations: 0 / 443.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.1371, allocations: 0 / 443.1 MB, free: 4.348 MB / 318.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.0005403/0.1376, allocations: 418.8 kB / 443.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1376, allocations: 15.89 kB / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.1377, allocations: 12.75 kB / 443.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.1379, allocations: 204 kB / 443.7 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.729e-06/0.1379, allocations: 4.375 kB / 443.7 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.1379, allocations: 384 / 443.7 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.1381, allocations: 53.81 kB / 443.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1381, allocations: 0 / 443.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1381, allocations: 0 / 443.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1381, allocations: 0 / 443.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.842e-05/0.1382, allocations: 27.97 kB / 443.8 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.1386, allocations: 292.8 kB / 444.1 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.1388, allocations: 38.66 kB / 444.1 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.1389, allocations: 20.84 kB / 444.1 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.1389, allocations: 3.938 kB / 444.1 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.1389, allocations: 34.56 kB / 444.2 MB, free: 3.082 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1389, allocations: 3.938 kB / 444.2 MB, free: 3.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005609/0.1395, allocations: 153.1 kB / 444.3 MB, free: 2.922 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.1395, allocations: 51.41 kB / 444.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.1397, allocations: 262.3 kB / 444.6 MB, free: 2.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.1398, allocations: 37.7 kB / 444.7 MB, free: 2.547 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.847e-05/0.1398, allocations: 104.1 kB / 444.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.1398, allocations: 27.64 kB / 444.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.1399, allocations: 17.72 kB / 444.8 MB, free: 2.391 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.624e-05/0.1399, allocations: 326.8 kB / 445.1 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.014e-05/0.14, allocations: 23.92 kB / 445.2 MB, free: 2.039 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.975e-05/0.1401, allocations: 15.98 kB / 445.2 MB, free: 2.023 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.1402, allocations: 48.83 kB / 445.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1402, allocations: 0 / 445.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001584/0.1403, allocations: 77.58 kB / 445.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1404, allocations: 8 kB / 445.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1404, allocations: 256 / 445.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1404, allocations: 0 / 445.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.664e-05/0.1405, allocations: 19.98 kB / 445.3 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1405, allocations: 3.938 kB / 445.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.718e-05/0.1405, allocations: 8 kB / 445.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.1405, allocations: 4 kB / 445.3 MB, free: 1.848 MB / 318.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 7.764e-05/0.1406, allocations: 133.7 kB / 445.5 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.1407, allocations: 19.8 kB / 445.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.1409, allocations: 98.92 kB / 445.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1409, allocations: 0 / 445.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1409, allocations: 4 kB / 445.6 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.1409, allocations: 3.984 kB / 445.6 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.1412, allocations: 362.4 kB / 445.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1412, allocations: 0 / 445.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.663e-05/0.1413, allocations: 15.98 kB / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1413, allocations: 0 / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.1413, allocations: 0 / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1413, allocations: 3.938 kB / 446 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1413, allocations: 7.938 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.1415, allocations: 183.3 kB / 446.1 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/0.1415, allocations: 85 kB / 446.2 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.1415, allocations: 4 kB / 446.2 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.154e-05/0.1416, allocations: 4.125 kB / 446.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.1417, allocations: 11.98 kB / 446.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-06/0.1417, allocations: 8 kB / 446.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.1418, allocations: 195.2 kB / 446.5 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1418, allocations: 4 kB / 446.5 MB, free: 0.625 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000228/0.142, allocations: 15.94 kB / 446.5 MB, free: 0.6094 MB / 318.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.0008898/0.1429, allocations: 389.7 kB / 446.9 MB, free: 312 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.1431, allocations: 47.91 kB / 446.9 MB, free: 264 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1431, allocations: 4 kB / 446.9 MB, free: 260 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.188e-05/0.1432, allocations: 23.98 kB / 446.9 MB, free: 236 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.1435, allocations: 23.92 kB / 446.9 MB, free: 212 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004462/0.144, allocations: 270.5 kB / 447.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.1443, allocations: 0.7119 MB / 447.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.463e-05/0.1443, allocations: 12.25 kB / 447.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.1444, allocations: 15.38 kB / 448 MB, free: 15.15 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1444, allocations: 7.938 kB / 448 MB, free: 15.14 MB / 334.1 MB Notification: Performance of Templates: time 0.004248/0.1486, allocations: 1.144 MB / 449.1 MB, free: 14.01 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches