Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 105.4 kB / 18.4 MB, free: 4.57 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.001068/0.001068, allocations: 188 kB / 19.34 MB, free: 3.641 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.327/1.327, allocations: 222.9 MB / 243 MB, free: 15.14 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.2109/0.2109, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 65.83 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1068, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002828/0.1096, allocations: 1.713 MB / 472.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.111, allocations: 0.8924 MB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.035e-05/0.111, allocations: 3.938 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.1113, allocations: 47.77 kB / 473.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.1115, allocations: 51.75 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.1118, allocations: 107.6 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.1119, allocations: 99.73 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.921e-05/0.112, allocations: 12.22 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.536e-05/0.1121, allocations: 43.78 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.076e-05/0.1122, allocations: 39.77 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.1122, allocations: 4 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.1124, allocations: 71.91 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.798e-05/0.1124, allocations: 15.98 kB / 473.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.474e-05/0.1125, allocations: 31.75 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.1127, allocations: 123.7 kB / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1127, allocations: 0 / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1127, allocations: 0 / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.1127, allocations: 0 / 474 MB, free: 10.38 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005659/0.1133, allocations: 415 kB / 474.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1133, allocations: 8.031 kB / 474.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.821e-05/0.1134, allocations: 12.84 kB / 474.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.1137, allocations: 204.1 kB / 474.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1137, allocations: 4.375 kB / 474.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.1137, allocations: 8.125 kB / 474.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1139, allocations: 71.38 kB / 474.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1139, allocations: 0 / 474.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.114, allocations: 0 / 474.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.114, allocations: 3.938 kB / 474.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.827e-05/0.114, allocations: 27.92 kB / 474.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.1144, allocations: 268.9 kB / 475 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.1146, allocations: 66.61 kB / 475 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.011e-05/0.1147, allocations: 24.97 kB / 475.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.1147, allocations: 8 kB / 475.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.1149, allocations: 71.33 kB / 475.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/0.1149, allocations: 0 / 475.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006235/0.1155, allocations: 205.1 kB / 475.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.1156, allocations: 81.11 kB / 475.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.1158, allocations: 157.7 kB / 475.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.1158, allocations: 33.64 kB / 475.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.1159, allocations: 96.14 kB / 475.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.1159, allocations: 31.55 kB / 475.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.116, allocations: 29.7 kB / 475.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1161, allocations: 318.8 kB / 476.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.542e-05/0.1162, allocations: 27.98 kB / 476.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.415e-05/0.1163, allocations: 58.48 kB / 476.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.1164, allocations: 77.73 kB / 476.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1164, allocations: 0 / 476.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002177/0.1167, allocations: 121.5 kB / 476.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1167, allocations: 8 kB / 476.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1167, allocations: 3.938 kB / 476.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1167, allocations: 0 / 476.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1168, allocations: 23.92 kB / 476.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.1168, allocations: 8 kB / 476.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.137e-05/0.1169, allocations: 12.02 kB / 476.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1169, allocations: 4 kB / 476.4 MB, free: 7.691 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.0001057/0.117, allocations: 125.8 kB / 476.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-05/0.1171, allocations: 11.81 kB / 476.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.726e-05/0.1171, allocations: 16.7 kB / 476.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1171, allocations: 7.922 kB / 476.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1171, allocations: 0 / 476.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1172, allocations: 0 / 476.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004773/0.1176, allocations: 427.2 kB / 477 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1176, allocations: 0 / 477 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.274e-05/0.1177, allocations: 15.98 kB / 477 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1177, allocations: 0 / 477 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1177, allocations: 4 kB / 477 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1177, allocations: 4 kB / 477 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1177, allocations: 0 / 477 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.118, allocations: 224.2 kB / 477.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.118, allocations: 84.92 kB / 477.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.118, allocations: 4 kB / 477.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.938e-05/0.1181, allocations: 0 / 477.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.1182, allocations: 11.98 kB / 477.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.1182, allocations: 4 kB / 477.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.037e-05/0.1183, allocations: 120.8 kB / 477.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1183, allocations: 0 / 477.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.1186, allocations: 39.98 kB / 477.5 MB, free: 6.504 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001128/0.1197, allocations: 0.5006 MB / 478 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002329/0.1199, allocations: 79.84 kB / 478.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.12, allocations: 4 kB / 478.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.915e-05/0.12, allocations: 35.92 kB / 478.1 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.1204, allocations: 34 kB / 478.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.1208, allocations: 207.2 kB / 478.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.1211, allocations: 0.6999 MB / 479 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.625e-05/0.1211, allocations: 24.61 kB / 479.1 MB, free: 5.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.1212, allocations: 27.42 kB / 479.1 MB, free: 5.039 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1212, allocations: 192 / 479.1 MB, free: 5.039 MB / 350.1 MB Notification: Performance of Templates: time 0.004667/0.1259, allocations: 2.107 MB / 481.2 MB, free: 2.945 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches