Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 111.4 kB / 17.86 MB, free: 5.504 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.001657/0.001658, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.428/1.428, allocations: 222.9 MB / 242.4 MB, free: 15.34 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.2036/0.2036, allocations: 44.16 MB / 336.8 MB, free: 2.961 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 62.28 kB / 408.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1022, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003083/0.1053, allocations: 1.606 MB / 470.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007953/0.1062, allocations: 403.2 kB / 471.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.39e-05/0.1062, allocations: 4 kB / 471.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.1065, allocations: 15.91 kB / 471.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.1066, allocations: 39.84 kB / 471.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.1069, allocations: 71.86 kB / 471.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.1071, allocations: 51.91 kB / 471.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.446e-05/0.1072, allocations: 15.98 kB / 471.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.338e-05/0.1072, allocations: 15.86 kB / 471.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.153e-05/0.1073, allocations: 23.86 kB / 471.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.1073, allocations: 0 / 471.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.823e-05/0.1074, allocations: 24 kB / 471.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.97e-05/0.1075, allocations: 19.91 kB / 471.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.233e-05/0.1075, allocations: 15.88 kB / 471.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.1076, allocations: 59.86 kB / 471.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1076, allocations: 0 / 471.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1076, allocations: 0 / 471.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1077, allocations: 0 / 471.5 MB, free: 12.45 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004462/0.1081, allocations: 374.5 kB / 471.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1082, allocations: 12.03 kB / 471.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.1082, allocations: 4.844 kB / 471.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.1084, allocations: 188.2 kB / 472.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-06/0.1084, allocations: 4.359 kB / 472.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.1084, allocations: 12.38 kB / 472.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.1086, allocations: 49.8 kB / 472.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1086, allocations: 7.906 kB / 472.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1086, allocations: 0 / 472.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1086, allocations: 0 / 472.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.031e-05/0.1087, allocations: 19.98 kB / 472.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.1091, allocations: 276.9 kB / 472.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.1093, allocations: 46.5 kB / 472.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.042e-05/0.1093, allocations: 12.95 kB / 472.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.1094, allocations: 7.984 kB / 472.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.1094, allocations: 30.56 kB / 472.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.1094, allocations: 0 / 472.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005698/0.11, allocations: 137.3 kB / 472.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.11, allocations: 51.41 kB / 472.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.1102, allocations: 153 kB / 472.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.1102, allocations: 25.7 kB / 472.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.64e-05/0.1102, allocations: 100.1 kB / 473 MB, free: 10.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.1103, allocations: 11.81 kB / 473 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.1103, allocations: 17.72 kB / 473 MB, free: 10.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1104, allocations: 326.8 kB / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.193e-05/0.1105, allocations: 15.98 kB / 473.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.41e-05/0.1106, allocations: 23.92 kB / 473.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.1107, allocations: 44.83 kB / 473.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1107, allocations: 0 / 473.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001802/0.1109, allocations: 85.83 kB / 473.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1109, allocations: 8 kB / 473.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1109, allocations: 0 / 473.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.1109, allocations: 0 / 473.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.822e-05/0.111, allocations: 11.98 kB / 473.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.111, allocations: 0 / 473.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.722e-05/0.1111, allocations: 4 kB / 473.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1111, allocations: 4 kB / 473.6 MB, free: 10.2 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 (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.989e-05/0.1112, allocations: 130.2 kB / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.1112, allocations: 11.89 kB / 473.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.1114, allocations: 89.95 kB / 473.8 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1115, allocations: 0 / 473.8 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1115, allocations: 4 kB / 473.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1115, allocations: 0 / 473.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003896/0.1119, allocations: 342.5 kB / 474.1 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1119, allocations: 0 / 474.1 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.745e-05/0.1119, allocations: 15.98 kB / 474.1 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1119, allocations: 0 / 474.1 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.112, allocations: 0 / 474.1 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.112, allocations: 3.938 kB / 474.1 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.112, allocations: 0 / 474.1 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.1122, allocations: 179.4 kB / 474.3 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.405e-05/0.1123, allocations: 85.02 kB / 474.4 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.1123, allocations: 7.984 kB / 474.4 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.421e-05/0.1124, allocations: 8.125 kB / 474.4 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.1124, allocations: 4.219 kB / 474.4 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.1124, allocations: 11.98 kB / 474.4 MB, free: 9.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.698e-05/0.1125, allocations: 107.3 kB / 474.5 MB, free: 9.117 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1125, allocations: 0 / 474.5 MB, free: 9.117 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002399/0.1128, allocations: 12 kB / 474.5 MB, free: 9.105 MB / 350.1 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.0008782/0.1136, allocations: 406.2 kB / 474.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.1138, allocations: 43.97 kB / 475 MB, free: 8.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1138, allocations: 0 / 475 MB, free: 8.816 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.008e-05/0.1139, allocations: 27.92 kB / 475 MB, free: 8.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.1143, allocations: 13.81 kB / 475 MB, free: 8.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000378/0.1147, allocations: 220.9 kB / 475.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.1149, allocations: 0.6887 MB / 475.9 MB, free: 7.816 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.115, allocations: 15.42 kB / 475.9 MB, free: 7.801 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.115, allocations: 4 kB / 475.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of Templates: time 0.002994/0.118, allocations: 1.348 MB / 477.3 MB, free: 6.449 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches