Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 110 kB / 18.3 MB, free: 4.84 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.001217/0.001218, allocations: 199.4 kB / 19.23 MB, free: 3.914 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.375/1.375, allocations: 222.9 MB / 242.9 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.2157/0.2157, allocations: 44.18 MB / 337.3 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 65.91 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1047, allocations: 60.83 MB / 469.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003435/0.1082, allocations: 1.695 MB / 471.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.1097, allocations: 0.8768 MB / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.363e-05/0.1098, allocations: 4 kB / 472.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.1102, allocations: 51.75 kB / 472.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.1104, allocations: 47.77 kB / 472.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.1108, allocations: 111.6 kB / 472.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.111, allocations: 99.69 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1111, allocations: 8.234 kB / 472.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.765e-05/0.1112, allocations: 39.8 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.899e-05/0.1113, allocations: 39.83 kB / 472.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.1113, allocations: 4 kB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.1114, allocations: 35.98 kB / 472.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.171e-05/0.1115, allocations: 15.94 kB / 473 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.352e-05/0.1116, allocations: 43.66 kB / 473 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.1118, allocations: 115.9 kB / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1118, allocations: 0 / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1118, allocations: 0 / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.1118, allocations: 0 / 473.1 MB, free: 11.16 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.0005682/0.1124, allocations: 418.9 kB / 473.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1124, allocations: 15.97 kB / 473.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.1125, allocations: 8.844 kB / 473.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.1127, allocations: 210.7 kB / 473.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1128, allocations: 384 / 473.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.1128, allocations: 12.06 kB / 473.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.113, allocations: 65.59 kB / 473.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.113, allocations: 0 / 473.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.113, allocations: 0 / 473.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.113, allocations: 4 kB / 473.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.916e-05/0.1131, allocations: 19.98 kB / 473.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.1135, allocations: 284.8 kB / 474.1 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.1137, allocations: 62.61 kB / 474.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.694e-05/0.1137, allocations: 20.86 kB / 474.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.1138, allocations: 4 kB / 474.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002231/0.114, allocations: 63.39 kB / 474.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.114, allocations: 0 / 474.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005859/0.1146, allocations: 177.1 kB / 474.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.1146, allocations: 51.41 kB / 474.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.1149, allocations: 203.3 kB / 474.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1149, allocations: 29.7 kB / 474.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.115, allocations: 104.1 kB / 474.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.115, allocations: 23.7 kB / 474.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.439e-05/0.1151, allocations: 21.72 kB / 474.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1152, allocations: 326.8 kB / 475.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.078e-05/0.1152, allocations: 23.98 kB / 475.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-05/0.1153, allocations: 37.64 kB / 475.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.1155, allocations: 61.72 kB / 475.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1155, allocations: 0 / 475.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000212/0.1157, allocations: 105.6 kB / 475.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1157, allocations: 4 kB / 475.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.1157, allocations: 4 kB / 475.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1157, allocations: 0 / 475.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.498e-05/0.1158, allocations: 15.98 kB / 475.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1159, allocations: 0 / 475.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.968e-05/0.1159, allocations: 19.91 kB / 475.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.1159, allocations: 4 kB / 475.5 MB, free: 8.562 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 (10): * Single equations (assignments): 10 * 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.0001279/0.1161, allocations: 125.8 kB / 475.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.1161, allocations: 11.81 kB / 475.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.207e-05/0.1162, allocations: 21.41 kB / 475.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1162, allocations: 0 / 475.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1162, allocations: 0.5625 kB / 475.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.1162, allocations: 7.922 kB / 475.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004814/0.1167, allocations: 391.3 kB / 476 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.1167, allocations: 4 kB / 476 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/0.1167, allocations: 12 kB / 476 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1167, allocations: 0 / 476 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.1168, allocations: 7.938 kB / 476 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.1168, allocations: 0 / 476 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1168, allocations: 0 / 476 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.117, allocations: 216.1 kB / 476.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.1171, allocations: 85.02 kB / 476.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.1172, allocations: 7.938 kB / 476.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.874e-05/0.1172, allocations: 0 / 476.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.1173, allocations: 7.984 kB / 476.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.1173, allocations: 8 kB / 476.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.1174, allocations: 143.9 kB / 476.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1174, allocations: 8 kB / 476.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.1177, allocations: 24 kB / 476.5 MB, free: 7.398 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 (8): * Single equations (assignments): 6 * 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.001063/0.1188, allocations: 461.5 kB / 477 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.119, allocations: 59.92 kB / 477 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.119, allocations: 0 / 477 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.419e-05/0.1191, allocations: 35.92 kB / 477.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.1195, allocations: 35.88 kB / 477.1 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004758/0.1199, allocations: 268.9 kB / 477.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.1202, allocations: 0.7157 MB / 478.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.898e-05/0.1203, allocations: 15.44 kB / 478.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.1203, allocations: 0 / 478.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of Templates: time 0.003819/0.1241, allocations: 1.914 MB / 480 MB, free: 4.035 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches