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.001216/0.001216, allocations: 108.7 kB / 16.41 MB, free: 6.488 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.001156/0.001156, 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.344/1.344, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2071/0.2071, allocations: 43.52 MB / 314.1 MB, free: 464 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.00198/0.00198, allocations: 73.45 kB / 441.4 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1095, allocations: 57.8 MB / 499.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003356/0.1129, allocations: 1.931 MB / 0.4894 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.1145, allocations: 0.9714 MB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.501e-05/0.1146, allocations: 4 kB / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006452/0.1153, allocations: 203.4 kB / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003613/0.1157, allocations: 151.4 kB / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004822/0.1162, allocations: 199.5 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000299/0.1165, allocations: 255.3 kB / 0.4911 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1166, allocations: 21.67 kB / 0.4911 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.1167, allocations: 103.6 kB / 0.4912 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.1169, allocations: 111.5 kB / 0.4913 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.1169, allocations: 12 kB / 0.4913 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.1171, allocations: 55.97 kB / 0.4914 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.352e-05/0.1172, allocations: 51.77 kB / 0.4914 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.475e-05/0.1173, allocations: 83.48 kB / 0.4915 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00032/0.1176, allocations: 231 kB / 0.4917 GB, free: 7.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1176, allocations: 4 kB / 0.4917 GB, free: 7.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1176, allocations: 4 kB / 0.4917 GB, free: 7.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1176, allocations: 0 / 0.4917 GB, free: 7.855 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.0008106/0.1184, allocations: 0.5503 MB / 0.4923 GB, free: 7.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1185, allocations: 11.89 kB / 0.4923 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.1185, allocations: 38.75 kB / 0.4923 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.1186, allocations: 24.78 kB / 0.4923 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.119, allocations: 291.8 kB / 0.4926 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.119, allocations: 384 / 0.4926 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.119, allocations: 7.938 kB / 0.4926 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.1192, allocations: 104.2 kB / 0.4927 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1193, allocations: 0 / 0.4927 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.1193, allocations: 4 kB / 0.4927 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.1193, allocations: 8 kB / 0.4927 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.1194, allocations: 43.91 kB / 0.4928 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.1199, allocations: 373.6 kB / 0.4931 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.1202, allocations: 125.2 kB / 0.4932 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.1203, allocations: 41.7 kB / 0.4933 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.1204, allocations: 4 kB / 0.4933 GB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.1206, allocations: 121 kB / 0.4934 GB, free: 5.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.1206, allocations: 0 / 0.4934 GB, free: 5.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004605/0.1211, allocations: 177.4 kB / 0.4936 GB, free: 5.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/0.1212, allocations: 106.8 kB / 0.4937 GB, free: 5.609 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/0.1216, allocations: 334.9 kB / 0.494 GB, free: 5.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.1216, allocations: 33.64 kB / 0.494 GB, free: 5.227 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.1217, allocations: 140 kB / 0.4942 GB, free: 5.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.1218, allocations: 35.8 kB / 0.4942 GB, free: 5.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.097e-05/0.1218, allocations: 37.66 kB / 0.4942 GB, free: 5.008 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.122, allocations: 342.8 kB / 0.4946 GB, free: 4.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.699e-05/0.1221, allocations: 31.98 kB / 0.4946 GB, free: 4.633 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.1222, allocations: 73.12 kB / 0.4947 GB, free: 4.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.1224, allocations: 103.4 kB / 0.4948 GB, free: 4.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1225, allocations: 0 / 0.4948 GB, free: 4.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002853/0.1227, allocations: 142.1 kB / 0.4949 GB, free: 4.285 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.1228, allocations: 8 kB / 0.4949 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1228, allocations: 0 / 0.4949 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1228, allocations: 4 kB / 0.4949 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.1229, allocations: 27.98 kB / 0.4949 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1229, allocations: 0 / 0.4949 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.485e-05/0.123, allocations: 23.88 kB / 0.495 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.123, allocations: 4 kB / 0.495 GB, free: 4.219 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.0001382/0.1232, allocations: 153.7 kB / 0.4951 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.1232, allocations: 23.86 kB / 0.4951 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.294e-05/0.1233, allocations: 29.67 kB / 0.4952 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1233, allocations: 4 kB / 0.4952 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1233, allocations: 4 kB / 0.4952 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.1233, allocations: 3.938 kB / 0.4952 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.1235, allocations: 249.4 kB / 0.4954 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1235, allocations: 4 kB / 0.4954 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-05/0.1236, allocations: 7.984 kB / 0.4954 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.1236, allocations: 4 kB / 0.4954 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.1236, allocations: 4 kB / 0.4954 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.1236, allocations: 0 / 0.4954 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.1236, allocations: 4 kB / 0.4954 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.124, allocations: 181.7 kB / 0.4956 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.936e-05/0.1241, allocations: 92.97 kB / 0.4957 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.1241, allocations: 8 kB / 0.4957 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.1242, allocations: 11.92 kB / 0.4957 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.1242, allocations: 11.92 kB / 0.4957 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.1243, allocations: 8 kB / 0.4957 GB, free: 3.332 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002567/0.1245, allocations: 245.9 kB / 0.496 GB, free: 3.094 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1245, allocations: 8 kB / 0.496 GB, free: 3.086 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.1248, allocations: 39.92 kB / 0.496 GB, free: 3.047 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.001979/0.1268, allocations: 1.018 MB / 0.497 GB, free: 2.039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002748/0.1271, allocations: 95.91 kB / 0.4971 GB, free: 1.945 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1271, allocations: 0 / 0.4971 GB, free: 1.945 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.1272, allocations: 48.34 kB / 0.4971 GB, free: 1.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.1276, allocations: 72.77 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.002742/0.1304, allocations: 2.301 MB / 0.4995 GB, free: 15.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.1307, allocations: 0.7437 MB / 0.5002 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.441e-05/0.1308, allocations: 33.88 kB / 0.5002 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.131, allocations: 63.41 kB / 0.5003 GB, free: 14.56 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.131, allocations: 0 / 0.5003 GB, free: 14.56 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02607/0.157, allocations: 5.63 MB / 0.5058 GB, free: 8.906 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.805/7.962, allocations: 12.05 kB / 0.5058 GB, free: 8.895 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