Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",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.0009703/0.0009704, allocations: 94.94 kB / 17.35 MB, free: 6.344 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.001098/0.001098, allocations: 168.8 kB / 18.25 MB, free: 5.508 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.292/1.292, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1889/0.1889, allocations: 44.25 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002793/0.0002793, allocations: 12 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1036, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.001939/0.1056, allocations: 1.421 MB / 473.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.1076, allocations: 1.432 MB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.92e-05/0.1077, allocations: 0 / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.108, allocations: 31.91 kB / 475.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.1082, allocations: 55.77 kB / 475.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.1085, allocations: 87.83 kB / 475.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.1086, allocations: 91.69 kB / 475.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.685e-05/0.1087, allocations: 16.22 kB / 475.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.37e-05/0.1088, allocations: 39.78 kB / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.109, allocations: 35.78 kB / 475.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.109, allocations: 4 kB / 475.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.1091, allocations: 55.97 kB / 475.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.21e-05/0.1092, allocations: 15.92 kB / 475.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.189e-05/0.1092, allocations: 57.5 kB / 475.7 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.1094, allocations: 116 kB / 475.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1094, allocations: 8 kB / 475.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1094, allocations: 7.875 kB / 475.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.1094, allocations: 0 / 475.8 MB, free: 9.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.0004958/0.11, allocations: 391.2 kB / 476.2 MB, free: 9.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.11, allocations: 8.031 kB / 476.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.233e-05/0.11, allocations: 34.75 kB / 476.3 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.1101, allocations: 8.844 kB / 476.3 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.1103, allocations: 206.8 kB / 476.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.1103, allocations: 8.375 kB / 476.5 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.1104, allocations: 7.938 kB / 476.5 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.1105, allocations: 71.33 kB / 476.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1105, allocations: 4 kB / 476.6 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1106, allocations: 0 / 476.6 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1106, allocations: 0 / 476.6 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.063e-05/0.1106, allocations: 19.98 kB / 476.6 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.111, allocations: 284.8 kB / 476.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.1112, allocations: 62.61 kB / 476.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.451e-05/0.1112, allocations: 16.86 kB / 476.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.1113, allocations: 7.938 kB / 476.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002266/0.1115, allocations: 71.38 kB / 477 MB, free: 8.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.1115, allocations: 0 / 477 MB, free: 8.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005304/0.112, allocations: 169.2 kB / 477.2 MB, free: 8.242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.1121, allocations: 77.11 kB / 477.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.1123, allocations: 157.8 kB / 477.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.1123, allocations: 25.7 kB / 477.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.1124, allocations: 96.12 kB / 477.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.1124, allocations: 27.64 kB / 477.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.1124, allocations: 25.7 kB / 477.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1126, allocations: 314.8 kB / 477.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.618e-05/0.1126, allocations: 23.98 kB / 477.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.471e-05/0.1127, allocations: 46.5 kB / 477.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.1128, allocations: 53.7 kB / 478 MB, free: 7.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1128, allocations: 0 / 478 MB, free: 7.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001812/0.113, allocations: 105.6 kB / 478.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.113, allocations: 4 kB / 478.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.113, allocations: 0 / 478.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.113, allocations: 0 / 478.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.59e-05/0.1131, allocations: 20.17 kB / 478.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1132, allocations: 0 / 478.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.539e-05/0.1132, allocations: 11.88 kB / 478.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.1132, allocations: 0 / 478.1 MB, free: 7.199 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.0001017/0.1133, allocations: 133.8 kB / 478.3 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.1134, allocations: 7.906 kB / 478.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.646e-05/0.1134, allocations: 12.72 kB / 478.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1134, allocations: 0 / 478.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1134, allocations: 0 / 478.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1134, allocations: 3.938 kB / 478.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004232/0.1139, allocations: 399.4 kB / 478.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1139, allocations: 4 kB / 478.7 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.004e-05/0.1139, allocations: 8.031 kB / 478.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.1139, allocations: 12.3 kB / 478.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.036e-06/0.1139, allocations: 0 / 478.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.114, allocations: 4 kB / 478.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.114, allocations: 7.984 kB / 478.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.1143, allocations: 196.2 kB / 478.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.1143, allocations: 88.95 kB / 479 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.1143, allocations: 11.94 kB / 479 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.568e-05/0.1144, allocations: 7.984 kB / 479 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.1145, allocations: 4 kB / 479 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.1145, allocations: 4 kB / 479 MB, free: 6.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.404e-05/0.1146, allocations: 118 kB / 479.1 MB, free: 6.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1146, allocations: 0 / 479.1 MB, free: 6.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.1149, allocations: 35.98 kB / 479.2 MB, free: 6.055 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.001531/0.1164, allocations: 1.127 MB / 480.3 MB, free: 5.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.1166, allocations: 59.91 kB / 480.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1166, allocations: 0 / 480.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.207e-05/0.1167, allocations: 35.91 kB / 480.4 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.117, allocations: 24.11 kB / 480.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.1187, allocations: 1.564 MB / 482 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.119, allocations: 0.7004 MB / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.11e-05/0.119, allocations: 12.88 kB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.395e-05/0.1191, allocations: 31.42 kB / 482.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1191, allocations: 3.938 kB / 482.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/0.134, allocations: 3.087 MB / 485.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.1342, allocations: 248.7 kB / 486.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/1.914, allocations: 0 / 486.1 MB, free: 15.34 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches