Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 109.9 kB / 18.3 MB, free: 4.883 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.001054/0.001054, allocations: 195.5 kB / 19.23 MB, free: 3.961 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.374/1.374, allocations: 222.9 MB / 242.9 MB, free: 15.19 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.2119/0.2119, allocations: 44.17 MB / 337.3 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001317, allocations: 74.09 kB / 409.1 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1192, allocations: 60.83 MB / 469.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003417/0.1226, allocations: 1.557 MB / 471.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007872/0.1235, allocations: 407.2 kB / 471.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.834e-05/0.1235, allocations: 0 / 471.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.1238, allocations: 107.7 kB / 472 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.1241, allocations: 87.64 kB / 472.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.1244, allocations: 95.64 kB / 472.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.1245, allocations: 71.88 kB / 472.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1247, allocations: 12.19 kB / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.422e-05/0.1247, allocations: 47.83 kB / 472.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.1249, allocations: 67.86 kB / 472.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.1249, allocations: 4 kB / 472.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.856e-05/0.125, allocations: 39.98 kB / 472.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.137e-05/0.1251, allocations: 35.78 kB / 472.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.889e-05/0.1251, allocations: 31.75 kB / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.1253, allocations: 99.98 kB / 472.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1253, allocations: 0 / 472.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1253, allocations: 3.938 kB / 472.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1253, allocations: 0 / 472.6 MB, free: 11.67 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.0004918/0.1258, allocations: 429.8 kB / 473 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1258, allocations: 8.031 kB / 473 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.1259, allocations: 12.75 kB / 473 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.1261, allocations: 200.1 kB / 473.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1261, allocations: 4.375 kB / 473.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.1261, allocations: 12.23 kB / 473.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.1263, allocations: 69.58 kB / 473.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1263, allocations: 0 / 473.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1263, allocations: 0 / 473.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1263, allocations: 0 / 473.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.498e-05/0.1265, allocations: 27.98 kB / 473.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.1269, allocations: 296.7 kB / 473.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.127, allocations: 42.59 kB / 473.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.453e-05/0.127, allocations: 20.84 kB / 473.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.1271, allocations: 4 kB / 473.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.1271, allocations: 34.56 kB / 473.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1271, allocations: 0 / 473.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008951/0.128, allocations: 221 kB / 473.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.1281, allocations: 55.48 kB / 474 MB, free: 10.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.1283, allocations: 247.3 kB / 474.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1283, allocations: 29.64 kB / 474.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.665e-05/0.1284, allocations: 112.1 kB / 474.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.1284, allocations: 31.55 kB / 474.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.1285, allocations: 17.72 kB / 474.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1286, allocations: 322.8 kB / 474.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.985e-05/0.1287, allocations: 35.97 kB / 474.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.911e-05/0.1288, allocations: 19.98 kB / 474.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.1289, allocations: 60.83 kB / 474.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.129, allocations: 0 / 474.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002094/0.1292, allocations: 97.58 kB / 474.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1292, allocations: 4 kB / 474.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.1292, allocations: 4 kB / 474.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1292, allocations: 0 / 474.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.1293, allocations: 23.92 kB / 475 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1294, allocations: 3.938 kB / 475 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.465e-05/0.1294, allocations: 7.984 kB / 475 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1294, allocations: 0 / 475 MB, free: 9.043 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.9e-05/0.1295, allocations: 133.8 kB / 475.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.1296, allocations: 11.81 kB / 475.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.1299, allocations: 127.3 kB / 475.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1299, allocations: 4 kB / 475.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1299, allocations: 7.922 kB / 475.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1299, allocations: 0 / 475.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005179/0.1304, allocations: 403.2 kB / 475.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1304, allocations: 4.031 kB / 475.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.886e-05/0.1305, allocations: 19.94 kB / 475.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1305, allocations: 432 / 475.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.1305, allocations: 15.92 kB / 475.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1305, allocations: 0 / 475.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1305, allocations: 0 / 475.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.1308, allocations: 200.2 kB / 475.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.1309, allocations: 100.8 kB / 476 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.1309, allocations: 4 kB / 476 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.131, allocations: 8 kB / 476 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.131, allocations: 11.92 kB / 476 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.131, allocations: 0 / 476 MB, free: 7.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000154/0.1312, allocations: 191.5 kB / 476.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1312, allocations: 0 / 476.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.1315, allocations: 12 kB / 476.2 MB, free: 7.707 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.001068/0.1325, allocations: 458.1 kB / 476.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002441/0.1328, allocations: 67.89 kB / 476.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1328, allocations: 4 kB / 476.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.032e-05/0.1329, allocations: 35.92 kB / 476.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.1333, allocations: 19.92 kB / 476.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005361/0.1338, allocations: 312.6 kB / 477.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.1341, allocations: 0.7119 MB / 477.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.1342, allocations: 15.42 kB / 477.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of SimCode: time 1.563e-06/0.1342, allocations: 0 / 477.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of Templates: time 0.003513/0.1377, allocations: 1.773 MB / 479.6 MB, free: 4.449 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches