Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",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.001629/0.001629, allocations: 102.2 kB / 16.4 MB, free: 6.473 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.002081/0.002082, allocations: 189.5 kB / 17.34 MB, free: 5.754 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.443/1.443, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2058/0.2058, allocations: 43.53 MB / 314.1 MB, free: 448 kB / 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.001522/0.001522, allocations: 75.89 kB / 441.4 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1064, allocations: 57.79 MB / 499.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002973/0.1094, allocations: 1.936 MB / 0.4893 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.111, allocations: 0.9637 MB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.1111, allocations: 0 / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006861/0.1118, allocations: 199.4 kB / 0.4905 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.1122, allocations: 159.4 kB / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000567/0.1128, allocations: 191.5 kB / 0.4908 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003706/0.1131, allocations: 267.2 kB / 0.4911 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.1133, allocations: 33.58 kB / 0.4911 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.1135, allocations: 107.5 kB / 0.4912 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.1137, allocations: 103.6 kB / 0.4913 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.1137, allocations: 12 kB / 0.4913 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.1139, allocations: 55.91 kB / 0.4914 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.678e-05/0.114, allocations: 47.83 kB / 0.4914 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.1141, allocations: 83.47 kB / 0.4915 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.1144, allocations: 239.2 kB / 0.4917 GB, free: 7.848 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1144, allocations: 4 kB / 0.4917 GB, free: 7.844 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1144, allocations: 0 / 0.4917 GB, free: 7.844 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1144, allocations: 4 kB / 0.4917 GB, free: 7.84 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008057/0.1152, allocations: 0.5461 MB / 0.4923 GB, free: 7.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.1153, allocations: 11.89 kB / 0.4923 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.867e-05/0.1154, allocations: 34.75 kB / 0.4923 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.814e-05/0.1155, allocations: 24.66 kB / 0.4923 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.1159, allocations: 291.5 kB / 0.4926 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.1159, allocations: 384 / 0.4926 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.1159, allocations: 7.938 kB / 0.4926 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.1161, allocations: 100.2 kB / 0.4927 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.1162, allocations: 0 / 0.4927 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.1162, allocations: 4 kB / 0.4927 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.1162, allocations: 4 kB / 0.4927 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.1163, allocations: 47.84 kB / 0.4928 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005544/0.1169, allocations: 377.5 kB / 0.4931 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.1172, allocations: 129.2 kB / 0.4932 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.1173, allocations: 41.7 kB / 0.4933 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.1174, allocations: 4 kB / 0.4933 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002355/0.1176, allocations: 109 kB / 0.4934 GB, free: 5.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.1176, allocations: 4 kB / 0.4934 GB, free: 5.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004829/0.1181, allocations: 181.3 kB / 0.4936 GB, free: 5.734 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/0.1182, allocations: 106.8 kB / 0.4937 GB, free: 5.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003588/0.1186, allocations: 331 kB / 0.494 GB, free: 5.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.1186, allocations: 29.7 kB / 0.494 GB, free: 5.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.1187, allocations: 140 kB / 0.4941 GB, free: 5.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.1187, allocations: 27.56 kB / 0.4942 GB, free: 5.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.1188, allocations: 37.7 kB / 0.4942 GB, free: 5.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1189, allocations: 342.8 kB / 0.4945 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-05/0.119, allocations: 31.98 kB / 0.4946 GB, free: 4.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.1192, allocations: 73.12 kB / 0.4946 GB, free: 4.555 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.1194, allocations: 95.39 kB / 0.4947 GB, free: 4.449 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.1194, allocations: 4 kB / 0.4947 GB, free: 4.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002709/0.1197, allocations: 145.8 kB / 0.4949 GB, free: 4.297 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1197, allocations: 8 kB / 0.4949 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.1197, allocations: 0 / 0.4949 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1198, allocations: 3.938 kB / 0.4949 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.1199, allocations: 28.11 kB / 0.4949 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1199, allocations: 4 kB / 0.4949 GB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.386e-05/0.12, allocations: 15.94 kB / 0.4949 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.12, allocations: 4 kB / 0.4949 GB, free: 4.234 MB / 382.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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001317/0.1202, allocations: 165.6 kB / 0.4951 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/0.1202, allocations: 23.72 kB / 0.4951 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.983e-05/0.1203, allocations: 25.67 kB / 0.4951 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1203, allocations: 4 kB / 0.4951 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1203, allocations: 0 / 0.4951 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1203, allocations: 7.938 kB / 0.4951 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.1205, allocations: 253.5 kB / 0.4954 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.1205, allocations: 4 kB / 0.4954 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.282e-05/0.1206, allocations: 7.984 kB / 0.4954 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.1206, allocations: 4 kB / 0.4954 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.1206, allocations: 4 kB / 0.4954 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1206, allocations: 0 / 0.4954 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1206, allocations: 0 / 0.4954 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.1209, allocations: 185.5 kB / 0.4956 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/0.121, allocations: 92.91 kB / 0.4957 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.1211, allocations: 8 kB / 0.4957 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.052e-05/0.1211, allocations: 7.984 kB / 0.4957 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.1212, allocations: 7.938 kB / 0.4957 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.1212, allocations: 11.98 kB / 0.4957 GB, free: 3.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002561/0.1215, allocations: 245.9 kB / 0.4959 GB, free: 3.102 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1215, allocations: 4 kB / 0.4959 GB, free: 3.098 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.1218, allocations: 43.91 kB / 0.496 GB, free: 3.055 MB / 382.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.00154/0.1233, allocations: 1.03 MB / 0.497 GB, free: 2.035 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002863/0.1236, allocations: 95.89 kB / 0.4971 GB, free: 1.941 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1236, allocations: 0 / 0.4971 GB, free: 1.941 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.1237, allocations: 47.92 kB / 0.4971 GB, free: 1.895 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.1242, allocations: 69.27 kB / 0.4972 GB, free: 1.824 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.1268, allocations: 2.278 MB / 0.4994 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.1271, allocations: 0.7475 MB / 0.5002 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.719e-05/0.1272, allocations: 33.92 kB / 0.5002 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.1273, allocations: 63.41 kB / 0.5002 GB, free: 14.58 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1273, allocations: 0 / 0.5002 GB, free: 14.58 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.1494, allocations: 5.703 MB / 0.5058 GB, free: 8.852 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.246/8.396, allocations: 23.91 kB / 0.5058 GB, free: 8.828 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches