Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",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.001112/0.001112, allocations: 107.6 kB / 16.41 MB, free: 6.449 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.001036/0.001036, allocations: 189.5 kB / 17.34 MB, free: 5.723 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.299/1.299, 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.1913/0.1913, allocations: 43.51 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.001458/0.001458, allocations: 77.59 kB / 441.4 MB, free: 6.055 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1048, allocations: 57.79 MB / 499.2 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003531/0.1083, allocations: 1.701 MB / 0.4891 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.1098, allocations: 0.8 MB / 0.4899 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.1099, allocations: 3.938 kB / 0.4899 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003731/0.1103, allocations: 107.7 kB / 0.49 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.1106, allocations: 87.64 kB / 0.4901 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.1109, allocations: 79.78 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.1112, allocations: 115.7 kB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1113, allocations: 12.22 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.1114, allocations: 59.75 kB / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.1116, allocations: 59.81 kB / 0.4904 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.1116, allocations: 7.938 kB / 0.4904 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.1117, allocations: 39.98 kB / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.503e-05/0.1118, allocations: 35.86 kB / 0.4905 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.454e-05/0.1118, allocations: 39.72 kB / 0.4905 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.1121, allocations: 119.6 kB / 0.4906 GB, free: 8.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1121, allocations: 4 kB / 0.4906 GB, free: 8.914 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1121, allocations: 4 kB / 0.4907 GB, free: 8.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.1121, allocations: 0 / 0.4907 GB, free: 8.91 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.0005626/0.1127, allocations: 430.7 kB / 0.4911 GB, free: 8.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.1127, allocations: 15.89 kB / 0.4911 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.1128, allocations: 30.75 kB / 0.4911 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.1128, allocations: 20.67 kB / 0.4911 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.1131, allocations: 216.8 kB / 0.4913 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.1131, allocations: 384 / 0.4913 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.1131, allocations: 11.92 kB / 0.4913 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.1133, allocations: 57.67 kB / 0.4914 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1133, allocations: 0 / 0.4914 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.036e-06/0.1133, allocations: 0 / 0.4914 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.1133, allocations: 0 / 0.4914 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.777e-05/0.1134, allocations: 23.92 kB / 0.4914 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000358/0.1138, allocations: 292.9 kB / 0.4917 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.114, allocations: 62.66 kB / 0.4918 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.201e-05/0.114, allocations: 16.86 kB / 0.4918 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.1141, allocations: 0 / 0.4918 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.1142, allocations: 75.31 kB / 0.4918 GB, free: 7.508 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1142, allocations: 0 / 0.4918 GB, free: 7.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005466/0.1148, allocations: 181.1 kB / 0.492 GB, free: 7.324 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.1148, allocations: 55.41 kB / 0.4921 GB, free: 7.258 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.115, allocations: 242.2 kB / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.1151, allocations: 29.7 kB / 0.4923 GB, free: 6.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.1151, allocations: 108.1 kB / 0.4924 GB, free: 6.863 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.1152, allocations: 23.66 kB / 0.4925 GB, free: 6.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.1152, allocations: 25.7 kB / 0.4925 GB, free: 6.809 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1153, allocations: 322.8 kB / 0.4928 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.748e-05/0.1154, allocations: 31.92 kB / 0.4928 GB, free: 6.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.098e-05/0.1155, allocations: 33.7 kB / 0.4929 GB, free: 6.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.1156, allocations: 69.7 kB / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1156, allocations: 0 / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001712/0.1158, allocations: 97.48 kB / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1158, allocations: 8 kB / 0.493 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1158, allocations: 8.344 kB / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1158, allocations: 0 / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.412e-05/0.1159, allocations: 16 kB / 0.493 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1159, allocations: 0 / 0.493 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.195e-05/0.116, allocations: 15.92 kB / 0.4931 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.116, allocations: 7.938 kB / 0.4931 GB, free: 6.184 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 9.589e-05/0.1161, allocations: 133.8 kB / 0.4932 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.1161, allocations: 15.81 kB / 0.4932 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.383e-05/0.1162, allocations: 17.41 kB / 0.4932 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1162, allocations: 4 kB / 0.4932 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1162, allocations: 0 / 0.4932 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1162, allocations: 7.922 kB / 0.4932 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004014/0.1166, allocations: 395.3 kB / 0.4936 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1166, allocations: 0 / 0.4936 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.1167, allocations: 11.94 kB / 0.4936 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1167, allocations: 3.938 kB / 0.4936 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1167, allocations: 7.984 kB / 0.4936 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1167, allocations: 4.031 kB / 0.4936 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1167, allocations: 0 / 0.4936 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.1169, allocations: 200.2 kB / 0.4938 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.117, allocations: 88.92 kB / 0.4939 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.117, allocations: 11.94 kB / 0.4939 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/0.1171, allocations: 3.984 kB / 0.4939 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.1171, allocations: 8 kB / 0.4939 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.1171, allocations: 4 kB / 0.4939 GB, free: 5.176 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.1173, allocations: 184.3 kB / 0.4941 GB, free: 4.996 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1173, allocations: 3.938 kB / 0.4941 GB, free: 4.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000255/0.1175, allocations: 31.98 kB / 0.4942 GB, free: 4.961 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.001369/0.1189, allocations: 1.093 MB / 0.4952 GB, free: 3.887 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.1191, allocations: 63.89 kB / 0.4953 GB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.1191, allocations: 8.062 kB / 0.4953 GB, free: 3.816 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.515e-05/0.1192, allocations: 23.94 kB / 0.4953 GB, free: 3.793 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.1195, allocations: 31.72 kB / 0.4953 GB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.1214, allocations: 1.758 MB / 0.4971 GB, free: 1.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.1217, allocations: 0.708 MB / 0.4978 GB, free: 1.176 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.594e-05/0.1218, allocations: 25.17 kB / 0.4978 GB, free: 1.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.468e-05/0.1219, allocations: 39.42 kB / 0.4978 GB, free: 1.109 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1219, allocations: 0 / 0.4978 GB, free: 1.109 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.1423, allocations: 3.652 MB / 0.5014 GB, free: 13.44 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.512/7.655, allocations: 4 kB / 0.5014 GB, free: 13.43 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches