Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",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.001594/0.001594, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.00187/0.00187, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2472/0.2472, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 64.86 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0975/0.09897, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003037/0.102, allocations: 1.7 MB / 471.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.1034, allocations: 0.873 MB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.324e-05/0.1035, allocations: 0 / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.1038, allocations: 51.75 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002224/0.1041, allocations: 59.75 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.1044, allocations: 115.5 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.1045, allocations: 95.7 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.895e-05/0.1046, allocations: 8.234 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.34e-05/0.1047, allocations: 47.78 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.166e-05/0.1048, allocations: 23.86 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.1049, allocations: 4 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.105, allocations: 43.98 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/0.105, allocations: 31.89 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.018e-05/0.1051, allocations: 47.61 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.1053, allocations: 127.8 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1053, allocations: 0 / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1053, allocations: 0 / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1053, allocations: 0 / 472.6 MB, free: 11.02 MB / 350.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.0005057/0.1058, allocations: 442.7 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.1059, allocations: 12.03 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.457e-05/0.1059, allocations: 30.75 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.106, allocations: 16.75 kB / 473.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.1062, allocations: 216 kB / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.1062, allocations: 384 / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.1062, allocations: 7.938 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.1064, allocations: 57.61 kB / 473.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.1064, allocations: 0 / 473.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1064, allocations: 7.984 kB / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1064, allocations: 0 / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.19e-05/0.1065, allocations: 16 kB / 473.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.1069, allocations: 296.9 kB / 473.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.107, allocations: 58.61 kB / 473.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.318e-05/0.1071, allocations: 24.86 kB / 473.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1071, allocations: 0 / 473.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.1073, allocations: 67.38 kB / 473.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.1073, allocations: 0 / 473.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005154/0.1078, allocations: 185.2 kB / 474 MB, free: 9.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.1079, allocations: 51.41 kB / 474 MB, free: 9.363 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.1081, allocations: 274.9 kB / 474.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.1081, allocations: 29.7 kB / 474.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/0.1082, allocations: 112.1 kB / 474.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.1082, allocations: 19.7 kB / 474.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/0.1083, allocations: 21.72 kB / 474.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1084, allocations: 330.8 kB / 474.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.879e-05/0.1085, allocations: 23.94 kB / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.954e-05/0.1085, allocations: 45.77 kB / 474.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.1087, allocations: 61.64 kB / 474.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1087, allocations: 0 / 474.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000195/0.1089, allocations: 109.5 kB / 475 MB, free: 8.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1089, allocations: 4 kB / 475.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1089, allocations: 3.984 kB / 475.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1089, allocations: 4 kB / 475.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.165e-05/0.109, allocations: 12 kB / 475.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.109, allocations: 4.031 kB / 475.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.698e-05/0.1091, allocations: 11.88 kB / 475.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1091, allocations: 0 / 475.1 MB, free: 8.262 MB / 350.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.0001063/0.1092, allocations: 144.8 kB / 475.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.1092, allocations: 15.81 kB / 475.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/0.1093, allocations: 21.41 kB / 475.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1093, allocations: 0 / 475.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1093, allocations: 0 / 475.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1093, allocations: 7.938 kB / 475.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004145/0.1097, allocations: 399.3 kB / 475.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1097, allocations: 0 / 475.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.222e-05/0.1098, allocations: 8 kB / 475.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1098, allocations: 11.92 kB / 475.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1098, allocations: 0 / 475.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1098, allocations: 0 / 475.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1098, allocations: 0 / 475.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.11, allocations: 216.2 kB / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.1101, allocations: 92.91 kB / 476 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.1101, allocations: 7.938 kB / 476 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.1102, allocations: 7.984 kB / 476 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.1102, allocations: 4 kB / 476 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.1103, allocations: 0 / 476 MB, free: 7.242 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.1104, allocations: 208.2 kB / 476.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1104, allocations: 0 / 476.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.1107, allocations: 24 kB / 476.2 MB, free: 7.016 MB / 350.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.001342/0.1121, allocations: 1.099 MB / 477.3 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.1122, allocations: 63.92 kB / 477.4 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1123, allocations: 0 / 477.4 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.023e-05/0.1123, allocations: 28.14 kB / 477.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.1127, allocations: 35.25 kB / 477.5 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.1145, allocations: 1.806 MB / 479.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.1147, allocations: 0.7196 MB / 480 MB, free: 3.305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.125e-05/0.1148, allocations: 8.891 kB / 480 MB, free: 3.297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.402e-05/0.1149, allocations: 51.41 kB / 480 MB, free: 3.246 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1149, allocations: 0 / 480 MB, free: 3.246 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.1343, allocations: 3.617 MB / 483.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.5/7.634, allocations: 12 kB / 483.7 MB, free: 15.7 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches