Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001051/0.001051, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.301/1.301, allocations: 222.9 MB / 242.2 MB, free: 15.22 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.2092/0.2092, allocations: 44.18 MB / 336.6 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 69.02 kB / 408.4 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1242, allocations: 60.82 MB / 469.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003907/0.1281, allocations: 1.568 MB / 470.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1293, allocations: 403.3 kB / 471.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.849e-05/0.1294, allocations: 0 / 471.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003562/0.1298, allocations: 71.78 kB / 471.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.1301, allocations: 67.69 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.1306, allocations: 94.62 kB / 471.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.1308, allocations: 75.81 kB / 471.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.1309, allocations: 12.19 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.402e-05/0.131, allocations: 35.84 kB / 471.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.1312, allocations: 39.89 kB / 471.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.1312, allocations: 4 kB / 471.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.1314, allocations: 43.98 kB / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.124e-05/0.1315, allocations: 23.92 kB / 471.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.275e-05/0.1315, allocations: 31.73 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.1318, allocations: 88 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1318, allocations: 0 / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1318, allocations: 0 / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.1318, allocations: 3.938 kB / 471.8 MB, free: 11.84 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.0005747/0.1324, allocations: 407 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.1325, allocations: 8.031 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.166e-05/0.1325, allocations: 8.844 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.1328, allocations: 201.7 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1328, allocations: 384 / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.1328, allocations: 4.375 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.1331, allocations: 57.61 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1331, allocations: 0 / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1331, allocations: 4 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.1331, allocations: 4 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.1333, allocations: 27.91 kB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.1338, allocations: 296.7 kB / 472.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.134, allocations: 46.56 kB / 472.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.554e-05/0.134, allocations: 20.88 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.634e-05/0.1341, allocations: 4 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.1341, allocations: 34.5 kB / 472.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.1342, allocations: 4 kB / 472.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001286/0.1355, allocations: 217 kB / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.1355, allocations: 55.41 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.1358, allocations: 201.8 kB / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.1359, allocations: 29.7 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.65e-05/0.1359, allocations: 96.14 kB / 473.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.136, allocations: 27.64 kB / 473.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-05/0.1361, allocations: 17.72 kB / 473.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1363, allocations: 322.8 kB / 473.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.1364, allocations: 23.98 kB / 473.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.1365, allocations: 24.05 kB / 473.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.1368, allocations: 72.77 kB / 474 MB, free: 9.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1368, allocations: 0 / 474 MB, free: 9.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003245/0.1371, allocations: 97.47 kB / 474.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.1371, allocations: 8 kB / 474.1 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1372, allocations: 0 / 474.1 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1372, allocations: 0 / 474.1 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.1373, allocations: 15.98 kB / 474.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1374, allocations: 7.938 kB / 474.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.734e-05/0.1374, allocations: 8 kB / 474.1 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.1375, allocations: 4 kB / 474.1 MB, free: 9.312 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.0001356/0.1376, allocations: 125.8 kB / 474.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/0.1377, allocations: 7.906 kB / 474.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003877/0.1381, allocations: 114.4 kB / 474.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1381, allocations: 8 kB / 474.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.1381, allocations: 7.875 kB / 474.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1381, allocations: 0 / 474.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007548/0.1389, allocations: 403.6 kB / 474.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1389, allocations: 0 / 474.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.139, allocations: 23.88 kB / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.1391, allocations: 7.969 kB / 474.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.1391, allocations: 3.984 kB / 474.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.1391, allocations: 8 kB / 474.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1391, allocations: 0 / 474.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003916/0.1395, allocations: 192.3 kB / 475 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-05/0.1396, allocations: 96.94 kB / 475.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.1396, allocations: 8 kB / 475.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.1398, allocations: 0 / 475.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.1398, allocations: 8.406 kB / 475.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.1398, allocations: 4 kB / 475.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001747/0.14, allocations: 147.2 kB / 475.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.294e-06/0.14, allocations: 4 kB / 475.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004614/0.1405, allocations: 23.94 kB / 475.3 MB, free: 8.031 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.001712/0.1422, allocations: 453.9 kB / 475.7 MB, free: 7.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003351/0.1426, allocations: 63.95 kB / 475.8 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1426, allocations: 7.875 kB / 475.8 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.1428, allocations: 43.97 kB / 475.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005696/0.1434, allocations: 15.92 kB / 475.8 MB, free: 7.641 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006239/0.144, allocations: 242.8 kB / 476.1 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.1444, allocations: 0.708 MB / 476.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.507e-05/0.1445, allocations: 16.89 kB / 476.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/0.1445, allocations: 15.44 kB / 476.8 MB, free: 6.602 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1445, allocations: 0 / 476.8 MB, free: 6.602 MB / 350.1 MB Notification: Performance of Templates: time 0.005789/0.1503, allocations: 1.31 MB / 478.1 MB, free: 5.301 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches