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.001066/0.001066, allocations: 110.5 kB / 16.41 MB, free: 6.461 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.001023/0.001023, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.321/1.321, 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.205/0.205, allocations: 43.52 MB / 314.1 MB, free: 452 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.001487/0.001487, allocations: 73.62 kB / 441.4 MB, free: 6.082 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0949/0.0964, allocations: 57.79 MB / 499.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002817/0.09926, allocations: 1.7 MB / 0.4891 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.1005, allocations: 0.8038 MB / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.261e-05/0.1006, allocations: 0 / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.1009, allocations: 95.69 kB / 0.49 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.1012, allocations: 67.72 kB / 0.4901 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.1014, allocations: 87.7 kB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.1016, allocations: 107.7 kB / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.646e-05/0.1017, allocations: 12.22 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.1018, allocations: 51.77 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.1019, allocations: 59.81 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.102, allocations: 4 kB / 0.4904 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.454e-05/0.1021, allocations: 43.98 kB / 0.4904 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.157e-05/0.1021, allocations: 23.92 kB / 0.4904 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.199e-05/0.1022, allocations: 35.73 kB / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.1024, allocations: 119.6 kB / 0.4906 GB, free: 9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1024, allocations: 0 / 0.4906 GB, free: 9 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1024, allocations: 0 / 0.4906 GB, free: 9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.1024, allocations: 0 / 0.4906 GB, free: 9 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.0005014/0.1029, allocations: 422.9 kB / 0.491 GB, free: 8.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.103, allocations: 11.89 kB / 0.491 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.013e-05/0.103, allocations: 34.75 kB / 0.491 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.103, allocations: 20.73 kB / 0.4911 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.1033, allocations: 204 kB / 0.4913 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1033, allocations: 4.312 kB / 0.4913 GB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.1033, allocations: 15.92 kB / 0.4913 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.1035, allocations: 53.61 kB / 0.4913 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1035, allocations: 4 kB / 0.4913 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1035, allocations: 4 kB / 0.4913 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1035, allocations: 0 / 0.4913 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.334e-05/0.1036, allocations: 19.98 kB / 0.4914 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.104, allocations: 288.8 kB / 0.4916 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.1041, allocations: 58.62 kB / 0.4917 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.251e-05/0.1042, allocations: 24.84 kB / 0.4917 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.1042, allocations: 4 kB / 0.4917 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001387/0.1044, allocations: 63.39 kB / 0.4918 GB, free: 7.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.1044, allocations: 0 / 0.4918 GB, free: 7.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005029/0.1049, allocations: 173.2 kB / 0.4919 GB, free: 7.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.1049, allocations: 55.41 kB / 0.492 GB, free: 7.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.1051, allocations: 223.5 kB / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.1051, allocations: 33.64 kB / 0.4922 GB, free: 7.109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.1052, allocations: 100.1 kB / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.1052, allocations: 27.64 kB / 0.4924 GB, free: 6.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.1053, allocations: 21.72 kB / 0.4924 GB, free: 6.953 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1054, allocations: 322.8 kB / 0.4927 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.901e-05/0.1055, allocations: 23.98 kB / 0.4927 GB, free: 6.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.369e-05/0.1055, allocations: 41.64 kB / 0.4927 GB, free: 6.559 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.1057, allocations: 61.77 kB / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.1057, allocations: 0 / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001904/0.1059, allocations: 109.4 kB / 0.4929 GB, free: 6.379 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1059, allocations: 8 kB / 0.4929 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.1059, allocations: 0 / 0.4929 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1059, allocations: 0 / 0.4929 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.615e-05/0.106, allocations: 19.98 kB / 0.4929 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.106, allocations: 4.031 kB / 0.4929 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.334e-05/0.1061, allocations: 3.938 kB / 0.4929 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.1061, allocations: 4 kB / 0.4929 GB, free: 6.34 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.553e-05/0.1062, allocations: 137.7 kB / 0.4931 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.1062, allocations: 11.81 kB / 0.4931 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.439e-05/0.1063, allocations: 21.39 kB / 0.4931 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1063, allocations: 3.938 kB / 0.4931 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1063, allocations: 0 / 0.4931 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1063, allocations: 7.938 kB / 0.4931 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004121/0.1067, allocations: 391.3 kB / 0.4935 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1067, allocations: 0 / 0.4935 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.612e-05/0.1068, allocations: 11.98 kB / 0.4935 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1068, allocations: 3.938 kB / 0.4935 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1068, allocations: 8 kB / 0.4935 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1068, allocations: 0 / 0.4935 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1068, allocations: 0 / 0.4935 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.107, allocations: 200.3 kB / 0.4937 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.1071, allocations: 88.92 kB / 0.4938 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.1071, allocations: 11.94 kB / 0.4938 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.594e-05/0.1072, allocations: 4.359 kB / 0.4938 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.1072, allocations: 4 kB / 0.4938 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.1072, allocations: 4 kB / 0.4938 GB, free: 5.336 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.1074, allocations: 163.4 kB / 0.494 GB, free: 5.176 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1074, allocations: 0 / 0.494 GB, free: 5.176 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.1076, allocations: 23.94 kB / 0.494 GB, free: 5.152 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.001386/0.109, allocations: 1.105 MB / 0.4951 GB, free: 4.062 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.1092, allocations: 63.94 kB / 0.4951 GB, free: 4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1092, allocations: 0 / 0.4951 GB, free: 4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.224e-05/0.1093, allocations: 31.92 kB / 0.4952 GB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.1096, allocations: 35.7 kB / 0.4952 GB, free: 3.938 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.1113, allocations: 1.674 MB / 0.4968 GB, free: 2.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.1115, allocations: 0.7083 MB / 0.4975 GB, free: 1.438 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.847e-05/0.1116, allocations: 20.8 kB / 0.4975 GB, free: 1.418 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.707e-05/0.1117, allocations: 39.42 kB / 0.4976 GB, free: 1.379 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1117, allocations: 0 / 0.4976 GB, free: 1.379 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.1321, allocations: 3.52 MB / 0.501 GB, free: 13.83 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.106/8.239, allocations: 64 / 0.501 GB, free: 13.83 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