Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001352, allocations: 109.3 kB / 18.39 MB, free: 4.629 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.001417/0.001417, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.352/1.352, allocations: 222.9 MB / 243 MB, free: 15.08 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.2054/0.2054, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.31 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1197, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002994/0.1228, allocations: 1.606 MB / 472.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007624/0.1235, allocations: 419.2 kB / 472.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.846e-05/0.1236, allocations: 4 kB / 472.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002714/0.1239, allocations: 95.67 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.1241, allocations: 55.81 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.1244, allocations: 103.6 kB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.1246, allocations: 91.86 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.1247, allocations: 27.92 kB / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.09e-05/0.1248, allocations: 35.89 kB / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1249, allocations: 59.77 kB / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.1249, allocations: 4 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.029e-05/0.125, allocations: 55.97 kB / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.193e-05/0.125, allocations: 23.86 kB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.885e-05/0.1251, allocations: 35.75 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.1253, allocations: 123.5 kB / 473.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1253, allocations: 0 / 473.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1253, allocations: 0 / 473.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.1253, allocations: 0 / 473.4 MB, free: 10.91 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004827/0.1258, allocations: 430.8 kB / 473.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.1259, allocations: 8.031 kB / 473.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.1259, allocations: 20.73 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.1261, allocations: 212.1 kB / 474.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1261, allocations: 4.375 kB / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.1262, allocations: 4.375 kB / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.1263, allocations: 73.78 kB / 474.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1263, allocations: 0 / 474.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1264, allocations: 3.938 kB / 474.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1264, allocations: 4 kB / 474.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.1265, allocations: 35.97 kB / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.1269, allocations: 332.6 kB / 474.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.127, allocations: 66.48 kB / 474.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/0.1271, allocations: 20.84 kB / 474.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.1271, allocations: 4 kB / 474.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.1271, allocations: 34.55 kB / 474.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1271, allocations: 4 kB / 474.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009648/0.1281, allocations: 300.8 kB / 474.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.1281, allocations: 55.41 kB / 475 MB, free: 9.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.1284, allocations: 235.4 kB / 475.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.1284, allocations: 25.7 kB / 475.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.203e-05/0.1284, allocations: 116.2 kB / 475.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.1285, allocations: 43.34 kB / 475.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.1285, allocations: 25.72 kB / 475.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1287, allocations: 330.8 kB / 475.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.477e-05/0.1287, allocations: 31.97 kB / 475.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.822e-05/0.1288, allocations: 43.23 kB / 475.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.129, allocations: 84.83 kB / 475.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.129, allocations: 0 / 475.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002353/0.1293, allocations: 141.4 kB / 476.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1293, allocations: 8 kB / 476.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1293, allocations: 0 / 476.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.1293, allocations: 7.922 kB / 476.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.1294, allocations: 27.92 kB / 476.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1295, allocations: 4 kB / 476.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.288e-05/0.1295, allocations: 4 kB / 476.1 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.1295, allocations: 8 kB / 476.1 MB, free: 7.992 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 (13): * Single equations (assignments): 13 * 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.0001117/0.1296, allocations: 129.8 kB / 476.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.1297, allocations: 12.02 kB / 476.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.13, allocations: 175.6 kB / 476.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.13, allocations: 7.938 kB / 476.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.13, allocations: 0 / 476.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.13, allocations: 0 / 476.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000589/0.1306, allocations: 479.1 kB / 476.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1306, allocations: 0 / 476.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.627e-05/0.1307, allocations: 27.92 kB / 476.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1307, allocations: 0 / 476.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1308, allocations: 8.031 kB / 476.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1308, allocations: 0 / 476.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1308, allocations: 0 / 476.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.1311, allocations: 243.2 kB / 477.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.584e-05/0.1311, allocations: 92.91 kB / 477.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.1312, allocations: 4 kB / 477.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.582e-05/0.1312, allocations: 8 kB / 477.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.1313, allocations: 15.97 kB / 477.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.1313, allocations: 7.938 kB / 477.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001984/0.1315, allocations: 180.2 kB / 477.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1315, allocations: 3.938 kB / 477.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.1318, allocations: 20 kB / 477.5 MB, free: 6.504 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 (13): * Single equations (assignments): 13 * 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.001058/0.1329, allocations: 454.5 kB / 477.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002652/0.1331, allocations: 99.89 kB / 478 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1331, allocations: 0 / 478 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.1333, allocations: 59.84 kB / 478.1 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.1336, allocations: 23.92 kB / 478.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005132/0.1342, allocations: 287.9 kB / 478.4 MB, free: 5.746 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.1345, allocations: 0.7158 MB / 479.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.735e-05/0.1346, allocations: 28.59 kB / 479.1 MB, free: 4.977 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.1347, allocations: 15.44 kB / 479.2 MB, free: 4.961 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1347, allocations: 0 / 479.2 MB, free: 4.961 MB / 350.1 MB Notification: Performance of Templates: time 0.004111/0.1388, allocations: 1.518 MB / 480.7 MB, free: 3.453 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches