Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",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.001385/0.001385, allocations: 107.8 kB / 16.41 MB, free: 6.484 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.00172/0.00172, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.486/1.486, 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.2034/0.2034, allocations: 43.54 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.001321/0.001321, allocations: 68.23 kB / 441.4 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1108, allocations: 57.8 MB / 499.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003449/0.1143, allocations: 1.697 MB / 0.4891 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.1157, allocations: 0.8038 MB / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.842e-05/0.1158, allocations: 0 / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003461/0.1162, allocations: 95.69 kB / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002607/0.1165, allocations: 63.73 kB / 0.4901 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.1168, allocations: 95.69 kB / 0.4902 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.117, allocations: 95.75 kB / 0.4902 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1171, allocations: 20.19 kB / 0.4903 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.1173, allocations: 47.78 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.1174, allocations: 59.77 kB / 0.4904 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.1174, allocations: 4 kB / 0.4904 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.1176, allocations: 43.98 kB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.148e-05/0.1176, allocations: 27.91 kB / 0.4904 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.304e-05/0.1177, allocations: 39.67 kB / 0.4905 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.118, allocations: 111.7 kB / 0.4906 GB, free: 9.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.118, allocations: 0 / 0.4906 GB, free: 9.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.919e-06/0.118, allocations: 0 / 0.4906 GB, free: 9.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.118, allocations: 3.938 kB / 0.4906 GB, free: 9.023 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008055/0.1188, allocations: 422.9 kB / 0.491 GB, free: 8.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.1189, allocations: 11.89 kB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.325e-05/0.119, allocations: 38.75 kB / 0.491 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.404e-05/0.119, allocations: 12.75 kB / 0.491 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/0.1195, allocations: 216 kB / 0.4913 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.1195, allocations: 384 / 0.4913 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.1195, allocations: 11.94 kB / 0.4913 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.1197, allocations: 53.61 kB / 0.4913 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1197, allocations: 0 / 0.4913 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.1197, allocations: 8 kB / 0.4913 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1197, allocations: 0 / 0.4913 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.431e-05/0.1198, allocations: 19.98 kB / 0.4913 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.1203, allocations: 292.8 kB / 0.4916 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.1205, allocations: 58.62 kB / 0.4917 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.847e-05/0.1205, allocations: 28.83 kB / 0.4917 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.1206, allocations: 0 / 0.4917 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.1207, allocations: 67.33 kB / 0.4918 GB, free: 7.633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.1207, allocations: 4 kB / 0.4918 GB, free: 7.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006126/0.1214, allocations: 173.2 kB / 0.4919 GB, free: 7.453 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.1214, allocations: 51.41 kB / 0.492 GB, free: 7.391 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.1216, allocations: 215.5 kB / 0.4922 GB, free: 7.172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.1217, allocations: 37.7 kB / 0.4922 GB, free: 7.129 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.704e-05/0.1218, allocations: 100.1 kB / 0.4923 GB, free: 7.027 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/0.1218, allocations: 27.64 kB / 0.4924 GB, free: 7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/0.1219, allocations: 25.72 kB / 0.4924 GB, free: 6.969 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.122, allocations: 322.8 kB / 0.4927 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-05/0.1221, allocations: 19.98 kB / 0.4927 GB, free: 6.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.405e-05/0.1222, allocations: 41.64 kB / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.1223, allocations: 61.77 kB / 0.4928 GB, free: 6.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1223, allocations: 0 / 0.4928 GB, free: 6.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002117/0.1225, allocations: 109.4 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1225, allocations: 4 kB / 0.4929 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1226, allocations: 0 / 0.4929 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.1226, allocations: 4 kB / 0.4929 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.729e-05/0.1227, allocations: 15.98 kB / 0.4929 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1227, allocations: 4.031 kB / 0.4929 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.149e-05/0.1228, allocations: 7.938 kB / 0.4929 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1228, allocations: 0 / 0.4929 GB, free: 6.363 MB / 382.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.0001145/0.1229, allocations: 141.4 kB / 0.4931 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.1229, allocations: 15.81 kB / 0.4931 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.518e-05/0.123, allocations: 17.34 kB / 0.4931 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.123, allocations: 3.984 kB / 0.4931 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.123, allocations: 0 / 0.4931 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.123, allocations: 3.938 kB / 0.4931 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004476/0.1235, allocations: 395.3 kB / 0.4935 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.1235, allocations: 4 kB / 0.4935 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.179e-05/0.1235, allocations: 4 kB / 0.4935 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1235, allocations: 7.938 kB / 0.4935 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1236, allocations: 4 kB / 0.4935 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1236, allocations: 3.984 kB / 0.4935 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1236, allocations: 4 kB / 0.4935 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.1238, allocations: 196.3 kB / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-05/0.1239, allocations: 89.11 kB / 0.4938 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.1239, allocations: 11.88 kB / 0.4938 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.688e-05/0.124, allocations: 4.312 kB / 0.4938 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.124, allocations: 7.984 kB / 0.4938 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.1241, allocations: 4 kB / 0.4938 GB, free: 5.355 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.1242, allocations: 155.2 kB / 0.494 GB, free: 5.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1242, allocations: 4 kB / 0.494 GB, free: 5.199 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.1245, allocations: 23.98 kB / 0.494 GB, free: 5.176 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: 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.001524/0.126, allocations: 1.115 MB / 0.4951 GB, free: 4.078 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.1262, allocations: 51.97 kB / 0.4951 GB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1262, allocations: 0 / 0.4951 GB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.406e-05/0.1263, allocations: 31.94 kB / 0.4952 GB, free: 3.996 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.1267, allocations: 35.53 kB / 0.4952 GB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.1285, allocations: 1.682 MB / 0.4968 GB, free: 2.191 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.1288, allocations: 0.7044 MB / 0.4975 GB, free: 1.461 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.934e-05/0.1289, allocations: 24.8 kB / 0.4976 GB, free: 1.438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.129, allocations: 39.42 kB / 0.4976 GB, free: 1.398 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.129, allocations: 0 / 0.4976 GB, free: 1.398 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.1485, allocations: 3.512 MB / 0.501 GB, free: 13.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.27/7.419, allocations: 8 kB / 0.501 GB, free: 13.85 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches