Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 105.3 kB / 17.98 MB, free: 5.219 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.001335/0.001335, allocations: 193.3 kB / 18.9 MB, free: 4.309 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.29/1.29, allocations: 222.9 MB / 242.6 MB, free: 15.43 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.2146/0.2146, allocations: 44.17 MB / 336.9 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.56 kB / 408.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1038, allocations: 60.83 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003266/0.1071, allocations: 1.932 MB / 471.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.1085, allocations: 0.9784 MB / 472.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.574e-05/0.1086, allocations: 0 / 472.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.1089, allocations: 151.6 kB / 472.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.1093, allocations: 127.6 kB / 472.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.1097, allocations: 162.4 kB / 472.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.11, allocations: 227.4 kB / 472.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.1101, allocations: 37.64 kB / 473 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.1103, allocations: 111.5 kB / 473.1 MB, free: 11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.1104, allocations: 131.5 kB / 473.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.1105, allocations: 8 kB / 473.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.1106, allocations: 63.92 kB / 473.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.25e-05/0.1107, allocations: 55.81 kB / 473.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.695e-05/0.1108, allocations: 83.36 kB / 473.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.111, allocations: 152 kB / 473.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.111, allocations: 0 / 473.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.111, allocations: 4 kB / 473.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.111, allocations: 0 / 473.6 MB, free: 10.52 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006626/0.1117, allocations: 0.5177 MB / 474.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.1117, allocations: 12.03 kB / 474.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.574e-05/0.1118, allocations: 32.64 kB / 474.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.1121, allocations: 271.5 kB / 474.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1121, allocations: 8.375 kB / 474.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.1121, allocations: 12.12 kB / 474.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.1123, allocations: 103.3 kB / 474.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1124, allocations: 0 / 474.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.1124, allocations: 4 kB / 474.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1124, allocations: 4 kB / 474.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.1125, allocations: 51.89 kB / 474.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004948/0.113, allocations: 460.8 kB / 475 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/0.1134, allocations: 129.2 kB / 475.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.29e-05/0.1136, allocations: 41.83 kB / 475.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.1136, allocations: 4 kB / 475.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002638/0.1138, allocations: 117 kB / 475.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.1139, allocations: 4 kB / 475.3 MB, free: 8.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001231/0.1151, allocations: 492.9 kB / 475.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.1152, allocations: 77.11 kB / 475.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003322/0.1155, allocations: 355 kB / 476.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.1155, allocations: 29.7 kB / 476.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.536e-05/0.1156, allocations: 152.5 kB / 476.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.724e-05/0.1157, allocations: 67.09 kB / 476.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.145e-05/0.1158, allocations: 41.7 kB / 476.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1159, allocations: 342.8 kB / 476.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.116, allocations: 55.97 kB / 476.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.1162, allocations: 95.33 kB / 477 MB, free: 6.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.1164, allocations: 163.3 kB / 477.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1164, allocations: 0 / 477.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003715/0.1168, allocations: 233.3 kB / 477.4 MB, free: 6.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1168, allocations: 7.938 kB / 477.4 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1168, allocations: 0 / 477.4 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1169, allocations: 4.062 kB / 477.4 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.117, allocations: 51.91 kB / 477.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.117, allocations: 4 kB / 477.5 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.034e-05/0.1171, allocations: 11.92 kB / 477.5 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.1171, allocations: 12 kB / 477.5 MB, free: 6.336 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001392/0.1173, allocations: 158.3 kB / 477.6 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.1173, allocations: 31.56 kB / 477.7 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.163e-05/0.1174, allocations: 33.73 kB / 477.7 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1174, allocations: 4 kB / 477.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1174, allocations: 4 kB / 477.7 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1174, allocations: 3.984 kB / 477.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008539/0.1183, allocations: 0.7194 MB / 478.4 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1183, allocations: 3.984 kB / 478.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.651e-05/0.1184, allocations: 24 kB / 478.5 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1184, allocations: 4 kB / 478.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.1184, allocations: 11.98 kB / 478.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1184, allocations: 3.938 kB / 478.5 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.503e-06/0.1184, allocations: 8.234 kB / 478.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004481/0.1189, allocations: 421.7 kB / 478.9 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/0.119, allocations: 96.83 kB / 479 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.874e-05/0.119, allocations: 8 kB / 479 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.1192, allocations: 7.984 kB / 479 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.1192, allocations: 23.92 kB / 479 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.1192, allocations: 8 kB / 479 MB, free: 4.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002431/0.1195, allocations: 265.9 kB / 479.3 MB, free: 4.391 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1195, allocations: 0 / 479.3 MB, free: 4.391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003415/0.1198, allocations: 55.89 kB / 479.3 MB, free: 4.336 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001165/0.121, allocations: 0.5069 MB / 479.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003454/0.1214, allocations: 171.8 kB / 480 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1214, allocations: 0 / 480 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.1215, allocations: 83.78 kB / 480.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.1221, allocations: 63.97 kB / 480.2 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007603/0.1228, allocations: 0.5884 MB / 480.8 MB, free: 3.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.1232, allocations: 0.7558 MB / 481.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.512e-05/0.1233, allocations: 35.42 kB / 481.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1233, allocations: 0 / 481.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of Templates: time 0.00532/0.1286, allocations: 3.498 MB / 485 MB, free: 14.79 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches