Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",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.002262/0.002262, allocations: 110.3 kB / 16.41 MB, free: 6.5 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.002321/0.002322, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.428/1.428, 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.2157/0.2157, allocations: 43.53 MB / 314.1 MB, free: 460 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.00204/0.00204, allocations: 71.89 kB / 441.4 MB, free: 6.094 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1096, allocations: 57.79 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003191/0.1128, allocations: 1.84 MB / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.1144, allocations: 0.9052 MB / 0.4902 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.958e-05/0.1145, allocations: 7.938 kB / 0.4902 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005197/0.115, allocations: 255.4 kB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.1154, allocations: 175.4 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.1158, allocations: 143.7 kB / 0.4907 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000304/0.1161, allocations: 247.3 kB / 0.491 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.1162, allocations: 29.52 kB / 0.491 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.1164, allocations: 123.6 kB / 0.4911 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.1166, allocations: 179.5 kB / 0.4913 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.1167, allocations: 4 kB / 0.4913 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.1168, allocations: 51.98 kB / 0.4913 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.31e-05/0.1169, allocations: 55.78 kB / 0.4914 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.961e-05/0.117, allocations: 95.22 kB / 0.4915 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003069/0.1173, allocations: 219 kB / 0.4917 GB, free: 7.906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1173, allocations: 0 / 0.4917 GB, free: 7.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1173, allocations: 0 / 0.4917 GB, free: 7.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1173, allocations: 4 kB / 0.4917 GB, free: 7.902 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007872/0.1181, allocations: 0.5677 MB / 0.4922 GB, free: 7.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1182, allocations: 15.89 kB / 0.4922 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.55e-05/0.1182, allocations: 34.75 kB / 0.4923 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.031e-05/0.1183, allocations: 36.73 kB / 0.4923 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004139/0.1187, allocations: 280.4 kB / 0.4926 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1187, allocations: 4.375 kB / 0.4926 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.1188, allocations: 15.92 kB / 0.4926 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.119, allocations: 99.3 kB / 0.4927 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.119, allocations: 0 / 0.4927 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1191, allocations: 4 kB / 0.4927 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1191, allocations: 0 / 0.4927 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.1192, allocations: 35.97 kB / 0.4927 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005978/0.1198, allocations: 460.9 kB / 0.4932 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.1201, allocations: 117.3 kB / 0.4933 GB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.749e-05/0.1202, allocations: 41.7 kB / 0.4933 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.1202, allocations: 7.984 kB / 0.4933 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/0.1205, allocations: 113 kB / 0.4934 GB, free: 5.891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.1205, allocations: 0 / 0.4934 GB, free: 5.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001014/0.1215, allocations: 384.5 kB / 0.4938 GB, free: 5.508 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/0.1216, allocations: 85.03 kB / 0.4939 GB, free: 5.406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005285/0.1222, allocations: 485.6 kB / 0.4944 GB, free: 4.922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.1222, allocations: 29.7 kB / 0.4944 GB, free: 4.887 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.1223, allocations: 168.3 kB / 0.4945 GB, free: 4.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.753e-05/0.1224, allocations: 51.56 kB / 0.4946 GB, free: 4.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.146e-05/0.1225, allocations: 37.7 kB / 0.4946 GB, free: 4.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.1227, allocations: 342.8 kB / 0.495 GB, free: 4.281 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.1228, allocations: 44.72 kB / 0.495 GB, free: 4.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.123, allocations: 78.78 kB / 0.4951 GB, free: 4.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.1232, allocations: 111.4 kB / 0.4952 GB, free: 4.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/0.1232, allocations: 7.938 kB / 0.4952 GB, free: 4.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003515/0.1236, allocations: 185.3 kB / 0.4954 GB, free: 3.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1236, allocations: 4 kB / 0.4954 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.1236, allocations: 4.062 kB / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.1236, allocations: 11.98 kB / 0.4954 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.1238, allocations: 39.86 kB / 0.4954 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.1238, allocations: 0 / 0.4954 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.164e-05/0.1239, allocations: 11.98 kB / 0.4954 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.1239, allocations: 4 kB / 0.4954 GB, free: 3.762 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: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001734/0.1241, allocations: 169.8 kB / 0.4956 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.1242, allocations: 31.81 kB / 0.4956 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.704e-05/0.1242, allocations: 38.81 kB / 0.4957 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.1243, allocations: 7.938 kB / 0.4957 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.1243, allocations: 4 kB / 0.4957 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.1243, allocations: 3.984 kB / 0.4957 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008362/0.1251, allocations: 0.6362 MB / 0.4963 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1251, allocations: 0 / 0.4963 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.768e-05/0.1252, allocations: 19.94 kB / 0.4963 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.1252, allocations: 4.062 kB / 0.4963 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.1252, allocations: 11.98 kB / 0.4963 GB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1252, allocations: 0 / 0.4963 GB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1252, allocations: 4 kB / 0.4963 GB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004503/0.1257, allocations: 368.1 kB / 0.4967 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.1258, allocations: 108.9 kB / 0.4968 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.1259, allocations: 8 kB / 0.4968 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.126, allocations: 7.984 kB / 0.4968 GB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/0.1261, allocations: 11.98 kB / 0.4968 GB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.1261, allocations: 8 kB / 0.4968 GB, free: 2.219 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004527/0.1266, allocations: 359.1 kB / 0.4972 GB, free: 1.871 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1266, allocations: 0 / 0.4972 GB, free: 1.871 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003495/0.1269, allocations: 40 kB / 0.4972 GB, free: 1.832 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.00244/0.1294, allocations: 1.268 MB / 0.4984 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000282/0.1297, allocations: 115.9 kB / 0.4986 GB, free: 476 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1297, allocations: 0 / 0.4986 GB, free: 476 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.1298, allocations: 60.11 kB / 0.4986 GB, free: 416 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005134/0.1303, allocations: 61.39 kB / 0.4987 GB, free: 356 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/0.1338, allocations: 2.748 MB / 0.5014 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004377/0.1342, allocations: 0.7749 MB / 0.5021 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.592e-05/0.1343, allocations: 29.94 kB / 0.5021 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.1345, allocations: 91.39 kB / 0.5022 GB, free: 12.56 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1345, allocations: 0 / 0.5022 GB, free: 12.56 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.1632, allocations: 5.973 MB / 0.5081 GB, free: 6.555 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.987/8.151, allocations: 4.062 kB / 0.5081 GB, free: 6.551 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches