Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.CombiTable1Dv.Test16,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.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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.CombiTable1Dv.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001406/0.001406, allocations: 193.3 kB / 18.91 MB, free: 4.477 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.312/1.312, allocations: 222.9 MB / 242.6 MB, free: 15.45 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.2076/0.2076, allocations: 44.17 MB / 336.9 MB, free: 2.875 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.22 kB / 408.5 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1102, allocations: 60.83 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003203/0.1134, allocations: 1.637 MB / 471 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008235/0.1143, allocations: 407.3 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.982e-05/0.1144, allocations: 4 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.1147, allocations: 75.77 kB / 471.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.115, allocations: 59.81 kB / 471.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.1153, allocations: 107.4 kB / 471.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.1154, allocations: 63.89 kB / 471.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.403e-05/0.1155, allocations: 20.17 kB / 471.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.342e-05/0.1156, allocations: 35.84 kB / 471.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.1157, allocations: 55.81 kB / 471.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.1157, allocations: 4 kB / 471.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.179e-05/0.1158, allocations: 43.98 kB / 471.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.1159, allocations: 23.91 kB / 471.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.1159, allocations: 31.75 kB / 471.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.1161, allocations: 68.19 kB / 472 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.1161, allocations: 4 kB / 472 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.1161, allocations: 4 kB / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1161, allocations: 0 / 472 MB, free: 12.09 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.0004864/0.1166, allocations: 399 kB / 472.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.1167, allocations: 12.03 kB / 472.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.1167, allocations: 12.83 kB / 472.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.1169, allocations: 200 kB / 472.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1169, allocations: 384 / 472.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.1169, allocations: 4.375 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.1171, allocations: 61.59 kB / 472.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1171, allocations: 7.906 kB / 472.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1171, allocations: 0 / 472.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1171, allocations: 0 / 472.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.89e-05/0.1173, allocations: 31.97 kB / 472.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.1177, allocations: 300.8 kB / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.1178, allocations: 42.56 kB / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.376e-05/0.1179, allocations: 24.92 kB / 473.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.1179, allocations: 4 kB / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.1179, allocations: 30.56 kB / 473.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1179, allocations: 0 / 473.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008909/0.1188, allocations: 237 kB / 473.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.1189, allocations: 55.41 kB / 473.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.1191, allocations: 214.1 kB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.1191, allocations: 25.7 kB / 473.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/0.1192, allocations: 104 kB / 473.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.1192, allocations: 27.64 kB / 473.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.1193, allocations: 29.66 kB / 473.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1194, allocations: 322.8 kB / 474.1 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-05/0.1195, allocations: 27.98 kB / 474.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.355e-05/0.1196, allocations: 35.97 kB / 474.2 MB, free: 9.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.1197, allocations: 76.83 kB / 474.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1197, allocations: 0 / 474.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002236/0.12, allocations: 125.4 kB / 474.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.12, allocations: 4 kB / 474.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.12, allocations: 0 / 474.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.12, allocations: 0 / 474.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.1201, allocations: 19.98 kB / 474.4 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.1201, allocations: 3.938 kB / 474.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.77e-05/0.1202, allocations: 4 kB / 474.4 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1202, allocations: 0 / 474.4 MB, free: 9.477 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.975e-05/0.1203, allocations: 134.4 kB / 474.5 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.1203, allocations: 7.906 kB / 474.5 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.1206, allocations: 130.6 kB / 474.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1206, allocations: 0 / 474.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.1206, allocations: 7.922 kB / 474.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1206, allocations: 0 / 474.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005086/0.1212, allocations: 419.2 kB / 475.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1212, allocations: 0 / 475.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.927e-05/0.1212, allocations: 23.92 kB / 475.1 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1213, allocations: 0 / 475.1 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.1213, allocations: 4 kB / 475.1 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1213, allocations: 0 / 475.1 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1213, allocations: 4 kB / 475.1 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.1215, allocations: 220.2 kB / 475.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.1216, allocations: 84.95 kB / 475.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.1216, allocations: 4 kB / 475.4 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.64e-05/0.1217, allocations: 4 kB / 475.4 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.1217, allocations: 3.984 kB / 475.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.1218, allocations: 12 kB / 475.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001185/0.1219, allocations: 151.2 kB / 475.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.342e-06/0.1219, allocations: 0 / 475.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.1222, allocations: 27.94 kB / 475.6 MB, free: 8.152 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.001022/0.1232, allocations: 461.2 kB / 476.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002677/0.1235, allocations: 83.86 kB / 476.1 MB, free: 7.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1235, allocations: 0 / 476.1 MB, free: 7.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.1236, allocations: 39.92 kB / 476.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.124, allocations: 23.92 kB / 476.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00051/0.1245, allocations: 316.8 kB / 476.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.1248, allocations: 0.708 MB / 477.2 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.1248, allocations: 15.44 kB / 477.2 MB, free: 6.641 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1248, allocations: 0 / 477.2 MB, free: 6.641 MB / 350.1 MB Notification: Performance of Templates: time 0.00359/0.1284, allocations: 1.757 MB / 479 MB, free: 4.891 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches