Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48",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.001668/0.001668, allocations: 106.6 kB / 15.98 MB, free: 5.898 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.001987/0.001987, allocations: 188.8 kB / 16.9 MB, free: 5.746 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.632/1.632, allocations: 205.1 MB / 222.8 MB, free: 12.44 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.2171/0.2171, allocations: 43.51 MB / 313.6 MB, free: 0.7031 MB / 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.001603/0.001603, allocations: 64.77 kB / 382.3 MB, free: 56.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1084, allocations: 57.8 MB / 440.1 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002432/0.1108, allocations: 1.746 MB / 441.9 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000908/0.1117, allocations: 0.7968 MB / 442.7 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.646e-05/0.1118, allocations: 0 / 442.7 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.1121, allocations: 47.81 kB / 442.7 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.1123, allocations: 51.83 kB / 442.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.1125, allocations: 79.78 kB / 442.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.1127, allocations: 99.69 kB / 442.9 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1128, allocations: 12.17 kB / 442.9 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.81e-05/0.1128, allocations: 43.78 kB / 443 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.023e-05/0.1129, allocations: 35.84 kB / 443 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.1129, allocations: 4 kB / 443 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.127e-05/0.113, allocations: 47.92 kB / 443.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.733e-05/0.1131, allocations: 27.92 kB / 443.1 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.445e-05/0.1131, allocations: 39.67 kB / 443.1 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.1133, allocations: 127.6 kB / 443.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1133, allocations: 0 / 443.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1133, allocations: 0 / 443.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.1133, allocations: 0 / 443.3 MB, free: 4.062 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004487/0.1138, allocations: 450.6 kB / 443.7 MB, free: 3.574 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1138, allocations: 11.89 kB / 443.7 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.177e-05/0.1139, allocations: 34.75 kB / 443.8 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.1139, allocations: 16.75 kB / 443.8 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.1141, allocations: 223.4 kB / 444 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1141, allocations: 384 / 444 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.1141, allocations: 7.938 kB / 444 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.1142, allocations: 53.67 kB / 444 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1143, allocations: 0 / 444 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.1143, allocations: 0 / 444 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1143, allocations: 4 kB / 444.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.347e-05/0.1144, allocations: 23.98 kB / 444.1 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002735/0.1146, allocations: 300.7 kB / 444.4 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.1148, allocations: 58.67 kB / 444.4 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.432e-05/0.1148, allocations: 20.86 kB / 444.4 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.1149, allocations: 7.984 kB / 444.5 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.115, allocations: 67.33 kB / 444.5 MB, free: 2.633 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.115, allocations: 0 / 444.5 MB, free: 2.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004546/0.1155, allocations: 177.4 kB / 444.7 MB, free: 2.453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.033e-05/0.1155, allocations: 55.34 kB / 444.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.1157, allocations: 263.7 kB / 445 MB, free: 2.113 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.1157, allocations: 29.7 kB / 445 MB, free: 2.078 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.106e-05/0.1158, allocations: 116 kB / 445.1 MB, free: 1.961 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.1158, allocations: 27.64 kB / 445.2 MB, free: 1.934 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.1158, allocations: 21.72 kB / 445.2 MB, free: 1.906 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.824e-05/0.1159, allocations: 330.8 kB / 445.5 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.057e-05/0.1159, allocations: 27.92 kB / 445.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.338e-05/0.116, allocations: 33.7 kB / 445.6 MB, free: 1.508 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.07e-05/0.1161, allocations: 69.62 kB / 445.6 MB, free: 1.434 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1161, allocations: 0 / 445.6 MB, free: 1.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001437/0.1163, allocations: 97.59 kB / 445.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.1163, allocations: 4 kB / 445.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1163, allocations: 0 / 445.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.1163, allocations: 0 / 445.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-05/0.1164, allocations: 23.92 kB / 445.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1164, allocations: 0 / 445.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.385e-05/0.1164, allocations: 11.88 kB / 445.8 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1165, allocations: 4 kB / 445.8 MB, free: 1.289 MB / 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 (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 7.062e-05/0.1165, allocations: 137.8 kB / 445.9 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.1166, allocations: 11.91 kB / 445.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.007e-05/0.1166, allocations: 21.39 kB / 446 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.1166, allocations: 4 kB / 446 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1166, allocations: 0 / 446 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1166, allocations: 3.938 kB / 446 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.1169, allocations: 407.2 kB / 446.4 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1169, allocations: 0 / 446.4 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.831e-05/0.117, allocations: 8 kB / 446.4 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.117, allocations: 3.938 kB / 446.4 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.117, allocations: 11.98 kB / 446.4 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.117, allocations: 3.938 kB / 446.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.117, allocations: 0 / 446.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.1172, allocations: 208.5 kB / 446.6 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.031e-05/0.1172, allocations: 81.02 kB / 446.7 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.1173, allocations: 11.94 kB / 446.7 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.81e-05/0.1173, allocations: 0 / 446.7 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.1174, allocations: 7.984 kB / 446.7 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.1174, allocations: 4 kB / 446.7 MB, free: 284 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.1175, allocations: 199.3 kB / 446.9 MB, free: 84 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1175, allocations: 4 kB / 446.9 MB, free: 80 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.1178, allocations: 23.98 kB / 446.9 MB, free: 56 kB / 318.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.001459/0.1193, allocations: 1.107 MB / 448 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.1194, allocations: 63.91 kB / 448.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1195, allocations: 0 / 448.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.073e-05/0.1195, allocations: 35.92 kB / 448.1 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.1199, allocations: 30.08 kB / 448.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.1217, allocations: 1.819 MB / 450 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.122, allocations: 0.7156 MB / 450.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.339e-05/0.1221, allocations: 17.17 kB / 450.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.498e-05/0.1221, allocations: 43.42 kB / 450.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1221, allocations: 4 kB / 450.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01355/0.1357, allocations: 3.534 MB / 454.3 MB, free: 8.645 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/0.1359, allocations: 238.8 kB / 454.5 MB, free: 8.383 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/1.897, allocations: 0 / 454.5 MB, free: 8.383 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches