Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008247/0.0008247, allocations: 173.5 kB / 16.72 MB, free: 4.957 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.233/1.233, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007035/0.0007034, allocations: 90.34 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2882/0.2882, allocations: 43.56 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003568, allocations: 19.98 kB / 432.1 MB, free: 5.715 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1031, allocations: 58.85 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.001848/0.105, allocations: 1.402 MB / 492.3 MB, free: 9.371 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.106, allocations: 0.7422 MB / 493.1 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.805e-05/0.1061, allocations: 4 kB / 493.1 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.1064, allocations: 47.86 kB / 493.1 MB, free: 8.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001599/0.1066, allocations: 47.81 kB / 493.2 MB, free: 8.523 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.1068, allocations: 75.86 kB / 493.2 MB, free: 8.449 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.107, allocations: 91.67 kB / 493.3 MB, free: 8.359 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.011e-05/0.1071, allocations: 8.219 kB / 493.3 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.757e-05/0.1072, allocations: 43.78 kB / 493.4 MB, free: 8.309 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.371e-05/0.1072, allocations: 27.86 kB / 493.4 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.1072, allocations: 4 kB / 493.4 MB, free: 8.277 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.893e-05/0.1073, allocations: 39.97 kB / 493.5 MB, free: 8.238 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.327e-05/0.1074, allocations: 31.86 kB / 493.5 MB, free: 8.207 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.018e-05/0.1075, allocations: 65.38 kB / 493.6 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.1076, allocations: 96.08 kB / 493.6 MB, free: 8.043 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1076, allocations: 0 / 493.6 MB, free: 8.043 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1076, allocations: 0 / 493.6 MB, free: 8.043 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.1076, allocations: 0 / 493.6 MB, free: 8.043 MB / 378.7 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.0004633/0.1081, allocations: 418.5 kB / 494.1 MB, free: 7.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1081, allocations: 12.03 kB / 494.1 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.798e-05/0.1082, allocations: 30.75 kB / 494.1 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.1082, allocations: 20.75 kB / 494.1 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.1084, allocations: 223.7 kB / 494.3 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.1085, allocations: 384 / 494.3 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.1085, allocations: 11.88 kB / 494.3 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.1086, allocations: 53.67 kB / 494.4 MB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1086, allocations: 0 / 494.4 MB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.1086, allocations: 0 / 494.4 MB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.1087, allocations: 4 kB / 494.4 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.284e-05/0.1087, allocations: 15.98 kB / 494.4 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.1091, allocations: 304.8 kB / 494.7 MB, free: 6.824 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.1092, allocations: 50.69 kB / 494.8 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.95e-05/0.1093, allocations: 20.84 kB / 494.8 MB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.1093, allocations: 4 kB / 494.8 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.1095, allocations: 75.33 kB / 494.9 MB, free: 6.652 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1095, allocations: 0 / 494.9 MB, free: 6.652 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004797/0.11, allocations: 188.9 kB / 495 MB, free: 6.461 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.11, allocations: 51.41 kB / 495.1 MB, free: 6.398 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.1102, allocations: 259.7 kB / 495.4 MB, free: 6.133 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.1103, allocations: 33.64 kB / 495.4 MB, free: 6.094 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.1103, allocations: 112.1 kB / 495.5 MB, free: 5.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.1104, allocations: 27.7 kB / 495.5 MB, free: 5.953 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.1104, allocations: 0 / 495.5 MB, free: 5.953 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1105, allocations: 326.8 kB / 495.8 MB, free: 5.625 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.058e-05/0.1105, allocations: 19.98 kB / 495.9 MB, free: 5.605 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.536e-05/0.1106, allocations: 33.7 kB / 495.9 MB, free: 5.566 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.836e-05/0.1107, allocations: 53.72 kB / 495.9 MB, free: 5.508 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1107, allocations: 4 kB / 495.9 MB, free: 5.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000168/0.1109, allocations: 109.4 kB / 496.1 MB, free: 5.391 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1109, allocations: 4 kB / 496.1 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1109, allocations: 4 kB / 496.1 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.1109, allocations: 0 / 496.1 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.111, allocations: 23.92 kB / 496.1 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1111, allocations: 0 / 496.1 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.624e-05/0.1111, allocations: 7.938 kB / 496.1 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.1111, allocations: 4 kB / 496.1 MB, free: 5.348 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.815e-05/0.1112, allocations: 149.6 kB / 496.2 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.1113, allocations: 11.81 kB / 496.3 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.073e-05/0.1113, allocations: 21.39 kB / 496.3 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1113, allocations: 0 / 496.3 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1113, allocations: 7.938 kB / 496.3 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1113, allocations: 3.938 kB / 496.3 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003908/0.1117, allocations: 399.3 kB / 496.7 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1117, allocations: 4.031 kB / 496.7 MB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.947e-05/0.1118, allocations: 8 kB / 496.7 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1118, allocations: 3.938 kB / 496.7 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1118, allocations: 0 / 496.7 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.1118, allocations: 4.234 kB / 496.7 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1118, allocations: 0 / 496.7 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.112, allocations: 212.1 kB / 496.9 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.1121, allocations: 97.09 kB / 497 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.1121, allocations: 11.94 kB / 497 MB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.565e-05/0.1122, allocations: 4.312 kB / 497 MB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.1122, allocations: 7.984 kB / 497 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.1122, allocations: 4 kB / 497 MB, free: 4.312 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001519/0.1124, allocations: 203 kB / 497.2 MB, free: 4.113 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1124, allocations: 0 / 497.2 MB, free: 4.113 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002282/0.1126, allocations: 28 kB / 497.3 MB, free: 4.086 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001245/0.1139, allocations: 1.105 MB / 498.4 MB, free: 3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001539/0.1141, allocations: 55.92 kB / 498.4 MB, free: 2.945 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1141, allocations: 0 / 498.4 MB, free: 2.945 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.197e-05/0.1141, allocations: 31.97 kB / 498.4 MB, free: 2.914 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.1144, allocations: 23.98 kB / 498.5 MB, free: 2.891 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.1157, allocations: 0.9031 MB / 499.4 MB, free: 1.922 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.1159, allocations: 0.716 MB / 0.4884 GB, free: 1.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.431e-05/0.116, allocations: 43.42 kB / 0.4884 GB, free: 1.137 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.116, allocations: 0 / 0.4884 GB, free: 1.137 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.858/2.974, allocations: 2.547 MB / 0.4909 GB, free: 42.25 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches