Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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 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 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 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.CombiTable1D.Test2,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.CombiTable1D.Test2") translateModel(ModelicaTest.Tables.CombiTable1D.Test2,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.CombiTable1D.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 107.5 kB / 17.03 MB, free: 5.664 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.002059/0.002059, allocations: 192.1 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.248/0.248, allocations: 43.53 MB / 314.7 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 71.2 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1078, allocations: 57.78 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.002807/0.1106, allocations: 1.546 MB / 443.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005578/0.1112, allocations: 323.5 kB / 443.8 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.702e-05/0.1113, allocations: 0 / 443.8 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.1115, allocations: 27.84 kB / 443.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.1117, allocations: 35.78 kB / 443.9 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.112, allocations: 102.7 kB / 444 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.1121, allocations: 47.91 kB / 444 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.1123, allocations: 19.92 kB / 444 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.096e-05/0.1123, allocations: 23.91 kB / 444.1 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.702e-05/0.1124, allocations: 19.81 kB / 444.1 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.1124, allocations: 4 kB / 444.1 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.372e-05/0.1125, allocations: 35.98 kB / 444.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.1126, allocations: 11.94 kB / 444.1 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.1126, allocations: 23.84 kB / 444.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.1127, allocations: 67.8 kB / 444.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1128, allocations: 0 / 444.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1128, allocations: 0 / 444.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1128, allocations: 0 / 444.2 MB, free: 3.852 MB / 318.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.0003909/0.1132, allocations: 375.2 kB / 444.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.1132, allocations: 15.88 kB / 444.6 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.1133, allocations: 16.78 kB / 444.6 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.1134, allocations: 183.9 kB / 444.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.1134, allocations: 384 / 444.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.1134, allocations: 8.375 kB / 444.8 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.1136, allocations: 53.8 kB / 444.9 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1136, allocations: 3.984 kB / 444.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.1136, allocations: 0 / 444.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1136, allocations: 0 / 444.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.364e-05/0.1137, allocations: 19.98 kB / 444.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.114, allocations: 288.8 kB / 445.2 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.1142, allocations: 46.55 kB / 445.2 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.611e-05/0.1142, allocations: 12.86 kB / 445.2 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.1143, allocations: 3.984 kB / 445.2 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/0.1143, allocations: 38.56 kB / 445.3 MB, free: 2.648 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1143, allocations: 0 / 445.3 MB, free: 2.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004659/0.1148, allocations: 149.3 kB / 445.4 MB, free: 2.496 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.1148, allocations: 55.41 kB / 445.5 MB, free: 2.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.764e-05/0.1149, allocations: 138.1 kB / 445.6 MB, free: 2.281 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/0.1149, allocations: 25.7 kB / 445.6 MB, free: 2.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.115, allocations: 100.1 kB / 445.7 MB, free: 2.148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.115, allocations: 19.66 kB / 445.8 MB, free: 2.129 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.115, allocations: 17.66 kB / 445.8 MB, free: 2.105 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.577e-05/0.1151, allocations: 326.8 kB / 446.1 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.05e-05/0.1151, allocations: 19.98 kB / 446.1 MB, free: 1.758 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.025e-05/0.1152, allocations: 23.97 kB / 446.1 MB, free: 1.734 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.1153, allocations: 53.02 kB / 446.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1153, allocations: 8 kB / 446.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001431/0.1155, allocations: 77.67 kB / 446.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1155, allocations: 5.25 kB / 446.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1155, allocations: 0 / 446.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1155, allocations: 3.938 kB / 446.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.455e-05/0.1156, allocations: 19.92 kB / 446.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-06/0.1156, allocations: 0 / 446.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.1156, allocations: 11.89 kB / 446.3 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.1157, allocations: 4 kB / 446.3 MB, free: 1.547 MB / 318.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 5.217e-05/0.1157, allocations: 121.7 kB / 446.4 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.1157, allocations: 4 kB / 446.4 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.1159, allocations: 97.95 kB / 446.5 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1159, allocations: 0 / 446.5 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.116, allocations: 0 / 446.5 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.116, allocations: 0 / 446.5 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.1163, allocations: 358.4 kB / 446.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1163, allocations: 0 / 446.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.563e-05/0.1163, allocations: 11.98 kB / 446.9 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1163, allocations: 4 kB / 446.9 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.1164, allocations: 0 / 446.9 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1164, allocations: 3.938 kB / 446.9 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1164, allocations: 0 / 446.9 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.1165, allocations: 195.5 kB / 447.1 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.047e-05/0.1166, allocations: 77.11 kB / 447.2 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.1166, allocations: 0 / 447.2 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.323e-05/0.1167, allocations: 11.92 kB / 447.2 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.1167, allocations: 4 kB / 447.2 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.1167, allocations: 0 / 447.2 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.147e-05/0.1168, allocations: 115.2 kB / 447.3 MB, free: 472 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1168, allocations: 4 kB / 447.3 MB, free: 468 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.117, allocations: 16 kB / 447.3 MB, free: 452 kB / 318.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.000809/0.1178, allocations: 393.4 kB / 447.7 MB, free: 136 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.118, allocations: 59.91 kB / 447.8 MB, free: 76 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.118, allocations: 0 / 447.8 MB, free: 76 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.249e-05/0.1181, allocations: 27.97 kB / 447.8 MB, free: 48 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.1184, allocations: 16 kB / 447.8 MB, free: 32 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/0.1188, allocations: 177.5 kB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.1192, allocations: 0.6924 MB / 448.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.19e-05/0.1193, allocations: 15.97 kB / 448.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/0.1193, allocations: 11.44 kB / 448.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1193, allocations: 4 kB / 448.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of Templates: time 0.003662/0.123, allocations: 1.105 MB / 449.8 MB, free: 13.98 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches