Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001117, allocations: 98.78 kB / 18.01 MB, free: 5.734 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.001452/0.001452, allocations: 177.1 kB / 18.91 MB, free: 4.871 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.39/1.39, allocations: 223.3 MB / 243 MB, free: 14.44 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.3559/0.3559, allocations: 44.23 MB / 338.3 MB, free: 2.414 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003752, allocations: 8 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.128, allocations: 61.93 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.00213/0.1302, allocations: 1.294 MB / 474.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008446/0.131, allocations: 403.4 kB / 474.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.918e-05/0.1311, allocations: 0 / 474.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.1314, allocations: 87.73 kB / 474.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.1316, allocations: 67.86 kB / 474.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.132, allocations: 98.44 kB / 474.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.1322, allocations: 71.83 kB / 474.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1323, allocations: 20.16 kB / 474.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.817e-05/0.1324, allocations: 31.8 kB / 475 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.1325, allocations: 51.88 kB / 475 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.1325, allocations: 0 / 475 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.1326, allocations: 39.98 kB / 475.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.544e-05/0.1327, allocations: 23.86 kB / 475.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.228e-05/0.1327, allocations: 53.45 kB / 475.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.1329, allocations: 80.09 kB / 475.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1329, allocations: 0 / 475.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1329, allocations: 0 / 475.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1329, allocations: 0 / 475.2 MB, free: 10.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004909/0.1334, allocations: 403.1 kB / 475.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.1335, allocations: 12.03 kB / 475.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.1335, allocations: 12.75 kB / 475.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.1337, allocations: 200.8 kB / 475.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.1337, allocations: 4.359 kB / 475.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.1338, allocations: 12.36 kB / 475.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.134, allocations: 53.62 kB / 475.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.134, allocations: 0 / 475.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.134, allocations: 4 kB / 475.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.134, allocations: 0 / 475.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.1341, allocations: 39.91 kB / 475.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.1346, allocations: 296.7 kB / 476.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.1347, allocations: 54.55 kB / 476.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.578e-05/0.1348, allocations: 28.8 kB / 476.3 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.1348, allocations: 8.016 kB / 476.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.1348, allocations: 30.56 kB / 476.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1348, allocations: 0 / 476.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009561/0.1358, allocations: 265.2 kB / 476.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.1359, allocations: 51.41 kB / 476.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.1361, allocations: 235.1 kB / 476.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.1361, allocations: 25.7 kB / 476.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.1362, allocations: 112 kB / 477 MB, free: 8.961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.1362, allocations: 27.7 kB / 477.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.1363, allocations: 17.72 kB / 477.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1364, allocations: 322.8 kB / 477.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.815e-05/0.1365, allocations: 31.98 kB / 477.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.879e-05/0.1366, allocations: 31.97 kB / 477.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.1367, allocations: 84.77 kB / 477.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1368, allocations: 0 / 477.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002411/0.137, allocations: 125.5 kB / 477.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.137, allocations: 11.98 kB / 477.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.137, allocations: 320 / 477.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1371, allocations: 0 / 477.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.864e-05/0.1372, allocations: 16 kB / 477.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1372, allocations: 7.922 kB / 477.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.698e-05/0.1372, allocations: 7.938 kB / 477.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.1372, allocations: 11.92 kB / 477.7 MB, free: 8.254 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 (8): * Single equations (assignments): 8 * 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.0001036/0.1374, allocations: 138.3 kB / 477.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.1374, allocations: 7.906 kB / 477.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.1377, allocations: 139 kB / 478 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1377, allocations: 3.984 kB / 478 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1377, allocations: 7.938 kB / 478 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1377, allocations: 4 kB / 478 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005481/0.1383, allocations: 419.3 kB / 478.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1383, allocations: 4.359 kB / 478.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.228e-05/0.1384, allocations: 27.95 kB / 478.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1384, allocations: 0 / 478.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1384, allocations: 0 / 478.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1384, allocations: 7.938 kB / 478.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1384, allocations: 3.984 kB / 478.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.1387, allocations: 216.3 kB / 478.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.1388, allocations: 100.8 kB / 478.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.1388, allocations: 0 / 478.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.523e-05/0.1389, allocations: 7.984 kB / 478.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.1389, allocations: 7.984 kB / 478.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.1389, allocations: 8 kB / 478.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001553/0.1391, allocations: 167.2 kB / 478.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1391, allocations: 4 kB / 479 MB, free: 6.898 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.1394, allocations: 16 kB / 479 MB, free: 6.883 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001049/0.1404, allocations: 459.9 kB / 479.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.1407, allocations: 75.95 kB / 479.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1407, allocations: 0 / 479.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.1408, allocations: 47.91 kB / 479.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.1411, allocations: 28.23 kB / 479.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005426/0.1417, allocations: 331.8 kB / 479.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.142, allocations: 0.716 MB / 480.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.1421, allocations: 19.42 kB / 480.6 MB, free: 5.34 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1421, allocations: 0 / 480.6 MB, free: 5.34 MB / 350.1 MB Notification: Performance of Templates: time 0.004069/0.1461, allocations: 1.76 MB / 482.4 MB, free: 3.582 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches