Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 110.9 kB / 17.33 MB, free: 6.012 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.001329/0.001329, allocations: 193.3 kB / 18.25 MB, free: 5.102 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.294/1.294, allocations: 222.9 MB / 241.9 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.199/0.199, allocations: 44.18 MB / 336.2 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 64.03 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1044, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.00299/0.1074, allocations: 1.765 MB / 470.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.1093, allocations: 1.452 MB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.763e-05/0.1094, allocations: 0 / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000275/0.1097, allocations: 35.83 kB / 472.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.1099, allocations: 51.83 kB / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.1103, allocations: 99.7 kB / 472.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.1104, allocations: 99.69 kB / 472.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.56e-05/0.1105, allocations: 12.22 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.957e-05/0.1106, allocations: 43.78 kB / 472.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.1107, allocations: 39.83 kB / 472.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1108, allocations: 4 kB / 472.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.1109, allocations: 55.98 kB / 472.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.856e-05/0.1109, allocations: 23.86 kB / 472.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.535e-05/0.111, allocations: 35.78 kB / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.1112, allocations: 119.9 kB / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1112, allocations: 0 / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1112, allocations: 0 / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.1112, allocations: 0 / 472.7 MB, free: 10.77 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.0004991/0.1117, allocations: 403.2 kB / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1118, allocations: 12.03 kB / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.162e-05/0.1118, allocations: 34.75 kB / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.1118, allocations: 8.844 kB / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.112, allocations: 208 kB / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1121, allocations: 4.375 kB / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.1121, allocations: 3.938 kB / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.1122, allocations: 75.38 kB / 473.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.1123, allocations: 0 / 473.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.1123, allocations: 0 / 473.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1123, allocations: 0 / 473.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.183e-05/0.1124, allocations: 19.98 kB / 473.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003138/0.1127, allocations: 288.8 kB / 473.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.1129, allocations: 62.62 kB / 473.8 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.642e-05/0.1129, allocations: 20.84 kB / 473.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.113, allocations: 0 / 473.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.1131, allocations: 71.33 kB / 473.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1131, allocations: 0 / 473.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004969/0.1136, allocations: 173.2 kB / 474 MB, free: 9.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.1137, allocations: 81.05 kB / 474.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.1138, allocations: 157.8 kB / 474.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.1139, allocations: 25.7 kB / 474.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.1139, allocations: 92.14 kB / 474.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.114, allocations: 31.58 kB / 474.4 MB, free: 8.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.114, allocations: 25.72 kB / 474.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.471e-05/0.1141, allocations: 318.8 kB / 474.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-05/0.1142, allocations: 23.98 kB / 474.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.515e-05/0.1142, allocations: 42.94 kB / 474.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.1144, allocations: 57.66 kB / 474.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1144, allocations: 0 / 474.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001764/0.1145, allocations: 105.6 kB / 475 MB, free: 8.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1146, allocations: 8 kB / 475 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1146, allocations: 4.062 kB / 475 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.1146, allocations: 0 / 475 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.219e-05/0.1147, allocations: 19.92 kB / 475 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1147, allocations: 4 kB / 475 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.863e-05/0.1147, allocations: 3.938 kB / 475 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.1148, allocations: 4 kB / 475 MB, free: 8.168 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 8.869e-05/0.1149, allocations: 121.8 kB / 475.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.1149, allocations: 11.89 kB / 475.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.943e-05/0.1149, allocations: 16.72 kB / 475.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1149, allocations: 0 / 475.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1149, allocations: 0 / 475.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1149, allocations: 3.938 kB / 475.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003983/0.1154, allocations: 391.5 kB / 475.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1154, allocations: 0 / 475.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.225e-05/0.1154, allocations: 8 kB / 475.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1154, allocations: 3.938 kB / 475.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1154, allocations: 8.031 kB / 475.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1154, allocations: 11.88 kB / 475.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1154, allocations: 80 / 475.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.1157, allocations: 200.2 kB / 475.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.1157, allocations: 93 kB / 475.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.1157, allocations: 3.938 kB / 475.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.66e-05/0.1158, allocations: 4 kB / 475.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.1159, allocations: 11.98 kB / 475.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.1159, allocations: 8 kB / 475.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.574e-05/0.116, allocations: 117.7 kB / 476 MB, free: 7.066 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.116, allocations: 0 / 476 MB, free: 7.066 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.1163, allocations: 28.19 kB / 476 MB, free: 7.039 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.001438/0.1177, allocations: 1.129 MB / 477.1 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.1179, allocations: 67.91 kB / 477.2 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1179, allocations: 0 / 477.2 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.797e-05/0.118, allocations: 40.02 kB / 477.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.1183, allocations: 23.97 kB / 477.3 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.1199, allocations: 1.56 MB / 478.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.1201, allocations: 0.6963 MB / 479.5 MB, free: 3.582 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.782e-05/0.1202, allocations: 16.88 kB / 479.5 MB, free: 3.566 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.546e-05/0.1203, allocations: 35.41 kB / 479.6 MB, free: 3.531 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1203, allocations: 0 / 479.6 MB, free: 3.531 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01409/0.1344, allocations: 3.378 MB / 483 MB, free: 264 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/0.1346, allocations: 252.6 kB / 483.2 MB, free: 16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/1.959, allocations: 0 / 483.2 MB, free: 16 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches