Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001504/0.001504, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 99.59 kB / 269.9 MB, free: 8.445 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3566/0.3566, allocations: 43.5 MB / 360.7 MB, free: 51.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 47.92 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1229, allocations: 57.78 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003522/0.1264, allocations: 1.606 MB / 488.6 MB, free: 10.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006906/0.1272, allocations: 319.5 kB / 488.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.81e-05/0.1272, allocations: 4 kB / 488.9 MB, free: 10.6 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002366/0.1275, allocations: 11.92 kB / 488.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.1277, allocations: 31.92 kB / 489 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.128, allocations: 67.84 kB / 489 MB, free: 10.49 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.1281, allocations: 51.91 kB / 489.1 MB, free: 10.44 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1283, allocations: 11.98 kB / 489.1 MB, free: 10.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.183e-05/0.1283, allocations: 19.86 kB / 489.1 MB, free: 10.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.263e-05/0.1284, allocations: 23.86 kB / 489.1 MB, free: 10.39 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.1284, allocations: 0 / 489.1 MB, free: 10.39 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.015e-05/0.1285, allocations: 27.98 kB / 489.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.13e-05/0.1286, allocations: 15.92 kB / 489.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.1286, allocations: 15.88 kB / 489.2 MB, free: 10.33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.1288, allocations: 76.02 kB / 489.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1288, allocations: 0 / 489.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1288, allocations: 4 kB / 489.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1288, allocations: 0 / 489.3 MB, free: 10.25 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004916/0.1293, allocations: 379.2 kB / 489.7 MB, free: 9.832 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.1294, allocations: 12.03 kB / 489.7 MB, free: 9.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/0.1294, allocations: 8.844 kB / 489.7 MB, free: 9.812 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.1296, allocations: 192.2 kB / 489.9 MB, free: 9.586 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.1296, allocations: 4.375 kB / 489.9 MB, free: 9.582 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.1297, allocations: 384 / 489.9 MB, free: 9.582 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.1298, allocations: 53.81 kB / 489.9 MB, free: 9.523 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1298, allocations: 0 / 489.9 MB, free: 9.523 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1299, allocations: 0 / 489.9 MB, free: 9.523 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1299, allocations: 0 / 489.9 MB, free: 9.523 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.148e-05/0.13, allocations: 19.98 kB / 489.9 MB, free: 9.504 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.1304, allocations: 288.8 kB / 490.2 MB, free: 9.172 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.1307, allocations: 38.56 kB / 490.3 MB, free: 9.125 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.031e-05/0.1307, allocations: 16.94 kB / 490.3 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.1307, allocations: 0 / 490.3 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.1308, allocations: 34.56 kB / 490.3 MB, free: 9.062 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1308, allocations: 4 kB / 490.3 MB, free: 9.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005354/0.1313, allocations: 137.2 kB / 490.4 MB, free: 8.918 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.1314, allocations: 55.41 kB / 490.5 MB, free: 8.852 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.1315, allocations: 141.9 kB / 490.6 MB, free: 8.703 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.1315, allocations: 25.7 kB / 490.7 MB, free: 8.672 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.1316, allocations: 96.12 kB / 490.8 MB, free: 8.574 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.1316, allocations: 19.66 kB / 490.8 MB, free: 8.555 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.1316, allocations: 17.72 kB / 490.8 MB, free: 8.531 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1318, allocations: 326.8 kB / 491.1 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.664e-05/0.1318, allocations: 23.92 kB / 491.1 MB, free: 8.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.586e-05/0.1319, allocations: 11.98 kB / 491.1 MB, free: 8.168 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.132, allocations: 49.02 kB / 491.2 MB, free: 8.117 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.132, allocations: 7.938 kB / 491.2 MB, free: 8.109 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001642/0.1322, allocations: 77.67 kB / 491.3 MB, free: 8.027 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1322, allocations: 4 kB / 491.3 MB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1322, allocations: 0 / 491.3 MB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1323, allocations: 0 / 491.3 MB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.741e-05/0.1323, allocations: 11.98 kB / 491.3 MB, free: 8.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1323, allocations: 7.938 kB / 491.3 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.628e-05/0.1324, allocations: 0 / 491.3 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.1324, allocations: 12 kB / 491.3 MB, free: 7.992 MB / 378.7 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 (5): * Single equations (assignments): 5 * 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 7.633e-05/0.1325, allocations: 125.8 kB / 491.4 MB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.1325, allocations: 7.906 kB / 491.4 MB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.1327, allocations: 85.95 kB / 491.5 MB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1328, allocations: 4 kB / 491.5 MB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1328, allocations: 0 / 491.5 MB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1328, allocations: 0 / 491.5 MB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.1332, allocations: 350.3 kB / 491.9 MB, free: 7.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1332, allocations: 4 kB / 491.9 MB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.049e-05/0.1332, allocations: 11.98 kB / 491.9 MB, free: 7.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1332, allocations: 0 / 491.9 MB, free: 7.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.1333, allocations: 4 kB / 491.9 MB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1333, allocations: 3.938 kB / 491.9 MB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1333, allocations: 4 kB / 491.9 MB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005394/0.1338, allocations: 0.7436 MB / 492.6 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.1339, allocations: 89.28 kB / 492.7 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.1339, allocations: 4 kB / 492.7 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.328e-05/0.134, allocations: 7.938 kB / 492.7 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.013e-05/0.134, allocations: 11.97 kB / 492.8 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/0.1341, allocations: 4 kB / 492.8 MB, free: 6.395 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.887e-05/0.1342, allocations: 107.3 kB / 492.9 MB, free: 6.289 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1342, allocations: 0 / 492.9 MB, free: 6.289 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003268/0.1345, allocations: 12 kB / 492.9 MB, free: 6.277 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0008351/0.1353, allocations: 402.7 kB / 493.3 MB, free: 5.926 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000183/0.1355, allocations: 47.97 kB / 493.3 MB, free: 5.879 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1355, allocations: 4 kB / 493.3 MB, free: 5.875 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.956e-05/0.1356, allocations: 23.98 kB / 493.3 MB, free: 5.852 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.136, allocations: 23.86 kB / 493.4 MB, free: 5.828 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004468/0.1364, allocations: 302 kB / 493.7 MB, free: 5.492 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.1367, allocations: 0.6887 MB / 494.4 MB, free: 4.777 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.987e-05/0.1368, allocations: 11.92 kB / 494.4 MB, free: 4.766 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.1368, allocations: 15.44 kB / 494.4 MB, free: 4.754 MB / 378.7 MB Notification: Performance of SimCode: time 4.8e-07/0.1368, allocations: 0 / 494.4 MB, free: 4.754 MB / 378.7 MB Notification: Performance of Templates: time 0.003155/0.14, allocations: 1.038 MB / 495.4 MB, free: 3.715 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches