Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,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.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.CombiTable1Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001752/0.001752, allocations: 194 kB / 18.77 MB, free: 4.742 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.376/1.376, allocations: 222.9 MB / 242.5 MB, free: 13.77 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.2085/0.2085, allocations: 44.18 MB / 336.8 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 60.62 kB / 408.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1206, allocations: 60.84 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003201/0.1238, allocations: 1.621 MB / 470.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007806/0.1246, allocations: 411.3 kB / 471.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.1247, allocations: 0 / 471.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.1249, allocations: 75.83 kB / 471.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.1252, allocations: 55.81 kB / 471.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.1255, allocations: 82.91 kB / 471.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.1256, allocations: 63.89 kB / 471.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1257, allocations: 28.09 kB / 471.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.801e-05/0.1258, allocations: 35.8 kB / 471.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.1259, allocations: 47.88 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.1259, allocations: 4 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.1261, allocations: 35.98 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.447e-05/0.1261, allocations: 19.92 kB / 471.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.749e-05/0.1262, allocations: 35.73 kB / 471.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.1263, allocations: 68.19 kB / 471.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1263, allocations: 0 / 471.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1264, allocations: 4 kB / 471.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1264, allocations: 4 kB / 471.8 MB, free: 12.25 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.0004925/0.1269, allocations: 403 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/0.1269, allocations: 12.03 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.127, allocations: 16.77 kB / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.1272, allocations: 192.1 kB / 472.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1272, allocations: 4.375 kB / 472.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.1272, allocations: 384 / 472.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.1274, allocations: 65.59 kB / 472.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.1274, allocations: 7.906 kB / 472.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1274, allocations: 0 / 472.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.1275, allocations: 0 / 472.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1276, allocations: 23.98 kB / 472.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.128, allocations: 288.8 kB / 472.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.1281, allocations: 46.56 kB / 472.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.571e-05/0.1281, allocations: 20.94 kB / 472.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.1282, allocations: 0 / 472.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.1282, allocations: 34.56 kB / 472.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1282, allocations: 3.938 kB / 472.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009247/0.1291, allocations: 221.1 kB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.1292, allocations: 51.41 kB / 473.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.1294, allocations: 210.1 kB / 473.3 MB, free: 10.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.1294, allocations: 29.7 kB / 473.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.96e-05/0.1295, allocations: 108 kB / 473.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.1295, allocations: 27.64 kB / 473.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.1296, allocations: 25.66 kB / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1297, allocations: 322.8 kB / 473.8 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.959e-05/0.1298, allocations: 19.98 kB / 473.8 MB, free: 9.941 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.017e-05/0.1299, allocations: 27.98 kB / 473.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.13, allocations: 60.83 kB / 473.9 MB, free: 9.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1301, allocations: 0 / 473.9 MB, free: 9.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002242/0.1303, allocations: 109.4 kB / 474 MB, free: 9.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1303, allocations: 8 kB / 474 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1303, allocations: 3.938 kB / 474.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1303, allocations: 0 / 474.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.1305, allocations: 19.98 kB / 474.1 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1305, allocations: 7.938 kB / 474.1 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.359e-05/0.1305, allocations: 4 kB / 474.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.1305, allocations: 4 kB / 474.1 MB, free: 9.691 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.0001261/0.1307, allocations: 130.4 kB / 474.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/0.1307, allocations: 12.33 kB / 474.2 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.131, allocations: 118.6 kB / 474.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.131, allocations: 0 / 474.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1311, allocations: 3.938 kB / 474.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.1311, allocations: 3.984 kB / 474.4 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005162/0.1316, allocations: 407.2 kB / 474.7 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1316, allocations: 0 / 474.7 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.756e-05/0.1317, allocations: 15.94 kB / 474.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.1317, allocations: 4 kB / 474.8 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.1317, allocations: 7.984 kB / 474.8 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1317, allocations: 0 / 474.8 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1317, allocations: 0 / 474.8 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.132, allocations: 200.3 kB / 475 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.132, allocations: 92.94 kB / 475.1 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.132, allocations: 0 / 475.1 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.126e-05/0.1321, allocations: 4 kB / 475.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.1322, allocations: 11.98 kB / 475.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.1322, allocations: 4 kB / 475.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.1323, allocations: 159.2 kB / 475.2 MB, free: 8.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.312e-06/0.1323, allocations: 0 / 475.2 MB, free: 8.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.1326, allocations: 19.94 kB / 475.3 MB, free: 8.41 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.001028/0.1336, allocations: 463.7 kB / 475.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.1338, allocations: 59.95 kB / 475.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1338, allocations: 0 / 475.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.266e-05/0.1339, allocations: 39.92 kB / 475.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.1343, allocations: 23.58 kB / 475.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000525/0.1349, allocations: 302.6 kB / 476.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.1352, allocations: 0.7043 MB / 476.8 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.1352, allocations: 19.44 kB / 476.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1352, allocations: 0 / 476.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of Templates: time 0.003533/0.1388, allocations: 1.684 MB / 478.5 MB, free: 5.25 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches