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.0008007/0.0008008, allocations: 93.67 kB / 18 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.001006/0.001006, allocations: 177.9 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.349/1.349, allocations: 223.3 MB / 243 MB, free: 14.48 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.1892/0.1892, allocations: 44.25 MB / 338.3 MB, free: 2.438 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002945/0.0002946, allocations: 8 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1225, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002202/0.1248, allocations: 1.29 MB / 474.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009408/0.1257, allocations: 395.4 kB / 474.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.606e-05/0.1259, allocations: 4 kB / 474.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003698/0.1262, allocations: 71.83 kB / 474.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.1265, allocations: 55.81 kB / 474.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.1269, allocations: 82.8 kB / 474.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.1271, allocations: 63.88 kB / 474.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.1273, allocations: 20.16 kB / 474.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.1274, allocations: 39.78 kB / 474.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.1276, allocations: 47.89 kB / 475 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.1276, allocations: 0 / 475 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.1277, allocations: 39.97 kB / 475 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.119e-05/0.1278, allocations: 19.92 kB / 475 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.503e-05/0.1279, allocations: 53.45 kB / 475.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.1281, allocations: 72.17 kB / 475.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1281, allocations: 0 / 475.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.1281, allocations: 0 / 475.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1281, allocations: 0 / 475.1 MB, free: 11.07 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.0005748/0.1287, allocations: 403 kB / 475.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.1288, allocations: 12.03 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/0.1288, allocations: 8.844 kB / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.1291, allocations: 188.1 kB / 475.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.1291, allocations: 16.3 kB / 475.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.1291, allocations: 384 / 475.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.1293, allocations: 53.62 kB / 475.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1293, allocations: 7.906 kB / 475.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1293, allocations: 4 kB / 475.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1294, allocations: 0 / 475.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.1295, allocations: 39.89 kB / 475.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.1299, allocations: 288.8 kB / 476.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.13, allocations: 46.56 kB / 476.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5e-05/0.1301, allocations: 12.86 kB / 476.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.1301, allocations: 4 kB / 476.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.1302, allocations: 38.58 kB / 476.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.1302, allocations: 0 / 476.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009071/0.1311, allocations: 249.1 kB / 476.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.1311, allocations: 55.41 kB / 476.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.1313, allocations: 214.1 kB / 476.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.1314, allocations: 29.7 kB / 476.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.322e-05/0.1314, allocations: 100 kB / 476.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.1315, allocations: 35.7 kB / 476.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.1315, allocations: 17.66 kB / 476.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1317, allocations: 322.8 kB / 477.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.264e-05/0.1318, allocations: 27.98 kB / 477.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.1319, allocations: 27.98 kB / 477.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.1321, allocations: 77.05 kB / 477.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1321, allocations: 0 / 477.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002208/0.1323, allocations: 117.4 kB / 477.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1323, allocations: 4 kB / 477.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1323, allocations: 0 / 477.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.1324, allocations: 4 kB / 477.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.847e-05/0.1325, allocations: 15.98 kB / 477.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1325, allocations: 7.938 kB / 477.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.434e-05/0.1325, allocations: 4 kB / 477.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.1325, allocations: 0 / 477.5 MB, free: 8.465 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 9.582e-05/0.1326, allocations: 134.4 kB / 477.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.1327, allocations: 7.906 kB / 477.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.133, allocations: 126.3 kB / 477.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.133, allocations: 4.422 kB / 477.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.133, allocations: 3.938 kB / 477.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.133, allocations: 4 kB / 477.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004971/0.1335, allocations: 403.2 kB / 478.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1335, allocations: 0 / 478.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.362e-05/0.1336, allocations: 23.97 kB / 478.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.1336, allocations: 15.91 kB / 478.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.1336, allocations: 4 kB / 478.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1336, allocations: 0 / 478.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1337, allocations: 3.938 kB / 478.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.1339, allocations: 212.3 kB / 478.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.851e-05/0.134, allocations: 88.95 kB / 478.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.134, allocations: 4 kB / 478.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.593e-05/0.1341, allocations: 11.98 kB / 478.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.1341, allocations: 0 / 478.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.004e-06/0.1341, allocations: 4 kB / 478.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.1343, allocations: 159.2 kB / 478.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.1343, allocations: 0 / 478.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.1345, allocations: 27.92 kB / 478.7 MB, free: 7.141 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.001072/0.1356, allocations: 463 kB / 479.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.1359, allocations: 67.95 kB / 479.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1359, allocations: 0 / 479.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.8e-05/0.136, allocations: 43.92 kB / 479.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.1363, allocations: 27.98 kB / 479.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005396/0.1369, allocations: 300 kB / 479.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.1372, allocations: 0.7083 MB / 480.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.1373, allocations: 15.44 kB / 480.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1373, allocations: 0 / 480.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of Templates: time 0.003882/0.1411, allocations: 1.676 MB / 482 MB, free: 3.973 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