Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_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|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_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.00166/0.001661, allocations: 110 kB / 17.04 MB, free: 5.359 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.001698/0.001698, allocations: 194.6 kB / 17.98 MB, free: 4.898 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.542/1.542, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2168/0.2168, allocations: 43.52 MB / 314.7 MB, free: 488 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.001478/0.001479, allocations: 69.81 kB / 384.2 MB, free: 56.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1137, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002543/0.1163, allocations: 1.698 MB / 443.7 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000964/0.1172, allocations: 0.8233 MB / 444.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.226e-05/0.1173, allocations: 0 / 444.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000252/0.1176, allocations: 43.77 kB / 444.5 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.1178, allocations: 55.75 kB / 444.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.118, allocations: 83.7 kB / 444.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.1181, allocations: 95.75 kB / 444.8 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.034e-05/0.1182, allocations: 8.234 kB / 444.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.324e-05/0.1183, allocations: 47.77 kB / 444.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.161e-05/0.1184, allocations: 35.8 kB / 444.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.1184, allocations: 4 kB / 444.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.1185, allocations: 67.95 kB / 444.9 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.713e-05/0.1186, allocations: 23.86 kB / 445 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.1186, allocations: 31.8 kB / 445 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.1188, allocations: 123.7 kB / 445.1 MB, free: 2.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1188, allocations: 4 kB / 445.1 MB, free: 2.992 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1188, allocations: 0 / 445.1 MB, free: 2.992 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1188, allocations: 0 / 445.1 MB, free: 2.992 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004749/0.1193, allocations: 419 kB / 445.5 MB, free: 2.535 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.1194, allocations: 11.89 kB / 445.5 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.1194, allocations: 12.84 kB / 445.5 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.1196, allocations: 205.3 kB / 445.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1197, allocations: 4.375 kB / 445.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.1197, allocations: 8.125 kB / 445.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.1198, allocations: 71.38 kB / 445.8 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1199, allocations: 0 / 445.8 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1199, allocations: 4 kB / 445.8 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1199, allocations: 0 / 445.8 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.653e-05/0.12, allocations: 31.97 kB / 445.9 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003135/0.1203, allocations: 296.7 kB / 446.2 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.1204, allocations: 54.56 kB / 446.2 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.197e-05/0.1205, allocations: 24.97 kB / 446.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.1205, allocations: 0 / 446.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001275/0.1207, allocations: 71.33 kB / 446.3 MB, free: 1.633 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.074e-06/0.1207, allocations: 0 / 446.3 MB, free: 1.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005259/0.1212, allocations: 185.3 kB / 446.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.1213, allocations: 85.19 kB / 446.6 MB, free: 1.344 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.1214, allocations: 156.8 kB / 446.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.1214, allocations: 33.7 kB / 446.7 MB, free: 1.145 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/0.1215, allocations: 100 kB / 446.8 MB, free: 1.043 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.1215, allocations: 23.66 kB / 446.9 MB, free: 1.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.1215, allocations: 25.7 kB / 446.9 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.074e-05/0.1216, allocations: 330.8 kB / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.996e-05/0.1217, allocations: 12 kB / 447.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.64e-05/0.1217, allocations: 58.48 kB / 447.3 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.781e-05/0.1218, allocations: 61.66 kB / 447.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1218, allocations: 0 / 447.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000156/0.122, allocations: 101.5 kB / 447.4 MB, free: 416 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.122, allocations: 9.25 kB / 447.5 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.122, allocations: 0 / 447.5 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.122, allocations: 0 / 447.5 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.025e-05/0.1221, allocations: 23.98 kB / 447.5 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1222, allocations: 8 kB / 447.5 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.1222, allocations: 7.938 kB / 447.5 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.1222, allocations: 0 / 447.5 MB, free: 368 kB / 318.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 (11): * Single equations (assignments): 11 * 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 6.807e-05/0.1223, allocations: 129.8 kB / 447.6 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.1223, allocations: 7.906 kB / 447.6 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.1225, allocations: 110.4 kB / 447.7 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1226, allocations: 8.078 kB / 447.7 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1226, allocations: 3.938 kB / 447.7 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1226, allocations: 7.938 kB / 447.8 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.123, allocations: 403.2 kB / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.123, allocations: 0 / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.735e-05/0.1231, allocations: 8 kB / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1231, allocations: 7.938 kB / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1231, allocations: 7.938 kB / 448.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1231, allocations: 0 / 448.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1231, allocations: 3.984 kB / 448.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.1233, allocations: 208.3 kB / 448.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.317e-05/0.1234, allocations: 85.02 kB / 448.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.1234, allocations: 7.938 kB / 448.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.385e-05/0.1235, allocations: 7.984 kB / 448.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.1235, allocations: 4 kB / 448.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.1236, allocations: 4 kB / 448.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.587e-05/0.1236, allocations: 127.2 kB / 448.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1237, allocations: 0 / 448.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.1239, allocations: 35.98 kB / 448.6 MB, free: 15.09 MB / 334.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 (9): * Single equations (assignments): 7 * 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.00109/0.125, allocations: 0.4909 MB / 449.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.1252, allocations: 67.89 kB / 449.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.1252, allocations: 4 kB / 449.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.44e-05/0.1253, allocations: 31.92 kB / 449.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.1257, allocations: 38.83 kB / 449.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004108/0.1261, allocations: 195 kB / 449.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.1264, allocations: 0.6963 MB / 450.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.38e-05/0.1265, allocations: 21.03 kB / 450.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.378e-05/0.1265, allocations: 15.44 kB / 450.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1265, allocations: 0 / 450.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of Templates: time 0.00501/0.1315, allocations: 2.053 MB / 452.3 MB, free: 11.53 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches