Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 108.8 kB / 17.33 MB, free: 5.988 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.001592/0.001592, allocations: 193.3 kB / 18.25 MB, free: 5.078 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.355/1.355, allocations: 222.9 MB / 241.9 MB, free: 15.35 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.2243/0.2243, allocations: 44.18 MB / 336.2 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 64.41 kB / 407.9 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1229, allocations: 60.83 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003809/0.1268, allocations: 1.614 MB / 470.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.1286, allocations: 0.9922 MB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.946e-05/0.1287, allocations: 0 / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.129, allocations: 23.91 kB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.1293, allocations: 39.78 kB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.1296, allocations: 75.61 kB / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.1298, allocations: 55.84 kB / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1299, allocations: 15.98 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.029e-05/0.13, allocations: 23.92 kB / 471.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.1301, allocations: 23.86 kB / 471.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.1302, allocations: 7.984 kB / 471.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.1303, allocations: 55.91 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.1304, allocations: 7.938 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.98e-05/0.1304, allocations: 19.88 kB / 471.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.1306, allocations: 87.77 kB / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1307, allocations: 0 / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1307, allocations: 0 / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1307, allocations: 0 / 471.8 MB, free: 11.68 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004897/0.1312, allocations: 383.6 kB / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.1312, allocations: 8.031 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/0.1313, allocations: 8.844 kB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.1315, allocations: 184.2 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.1315, allocations: 8.312 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.1315, allocations: 384 / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.1317, allocations: 67.52 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1317, allocations: 0 / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.1318, allocations: 7.938 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1318, allocations: 4 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.56e-05/0.1319, allocations: 23.97 kB / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.1323, allocations: 276.8 kB / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.1325, allocations: 38.56 kB / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.1326, allocations: 24.86 kB / 472.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.1326, allocations: 0 / 472.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.1326, allocations: 30.56 kB / 472.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1326, allocations: 4 kB / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005829/0.1332, allocations: 133.4 kB / 472.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/0.1333, allocations: 85.09 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.1334, allocations: 133.8 kB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.1335, allocations: 25.7 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.1335, allocations: 96.12 kB / 473.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.1336, allocations: 11.75 kB / 473.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.781e-05/0.1336, allocations: 21.7 kB / 473.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1337, allocations: 322.8 kB / 473.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.928e-05/0.1338, allocations: 15.98 kB / 473.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.185e-05/0.1339, allocations: 37.64 kB / 473.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.134, allocations: 44.83 kB / 473.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.134, allocations: 3.938 kB / 473.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001772/0.1342, allocations: 81.58 kB / 473.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.1343, allocations: 4 kB / 473.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.1343, allocations: 4.031 kB / 473.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1343, allocations: 0 / 473.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.671e-05/0.1344, allocations: 15.98 kB / 473.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.1344, allocations: 3.938 kB / 473.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.287e-05/0.1344, allocations: 7.984 kB / 473.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.1344, allocations: 0 / 473.8 MB, free: 9.363 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 (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 9.01e-05/0.1345, allocations: 118.3 kB / 473.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.1346, allocations: 7.906 kB / 473.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.1348, allocations: 93.61 kB / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1348, allocations: 4 kB / 474 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1348, allocations: 0 / 474 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1348, allocations: 320 / 474 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004131/0.1353, allocations: 350.4 kB / 474.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1353, allocations: 4 kB / 474.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.321e-05/0.1353, allocations: 12 kB / 474.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1353, allocations: 0 / 474.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.1354, allocations: 3.984 kB / 474.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1354, allocations: 3.938 kB / 474.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1354, allocations: 4 kB / 474.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.1356, allocations: 171.4 kB / 474.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.1357, allocations: 81.11 kB / 474.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.1357, allocations: 8 kB / 474.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.088e-05/0.1358, allocations: 11.92 kB / 474.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.1358, allocations: 0 / 474.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.1358, allocations: 4 kB / 474.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.191e-05/0.1359, allocations: 107.2 kB / 474.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1359, allocations: 0 / 474.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.1362, allocations: 23.91 kB / 474.8 MB, free: 8.27 MB / 350.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.001005/0.1372, allocations: 450.9 kB / 475.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.1374, allocations: 51.84 kB / 475.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1374, allocations: 0 / 475.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.717e-05/0.1375, allocations: 23.98 kB / 475.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1379, allocations: 15.98 kB / 475.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/0.1382, allocations: 173.5 kB / 475.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.1385, allocations: 0.69 MB / 476.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.322e-05/0.1386, allocations: 15.98 kB / 476.2 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.1386, allocations: 15.42 kB / 476.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1386, allocations: 0 / 476.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of Templates: time 0.003864/0.1425, allocations: 1.333 MB / 477.6 MB, free: 5.641 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches