Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",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.001229/0.001229, allocations: 107.8 kB / 16.41 MB, free: 6.496 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.001165/0.001165, allocations: 188.1 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.303/1.303, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2169/0.2169, allocations: 43.53 MB / 314.1 MB, free: 456 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.002065/0.002065, allocations: 63.91 kB / 441.4 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09359/0.09567, allocations: 57.79 MB / 499.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002865/0.09856, allocations: 1.782 MB / 0.4892 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.1006, allocations: 1.484 MB / 0.4907 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.258e-05/0.1007, allocations: 7.938 kB / 0.4907 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.101, allocations: 59.62 kB / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002462/0.1012, allocations: 91.53 kB / 0.4908 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.1016, allocations: 143.7 kB / 0.4909 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.1018, allocations: 179.5 kB / 0.4911 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.013e-05/0.1019, allocations: 17.53 kB / 0.4911 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.102, allocations: 75.64 kB / 0.4912 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.1022, allocations: 75.61 kB / 0.4913 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.1023, allocations: 8 kB / 0.4913 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.1024, allocations: 59.98 kB / 0.4913 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.861e-05/0.1025, allocations: 27.89 kB / 0.4914 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.967e-05/0.1025, allocations: 67.55 kB / 0.4914 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.1028, allocations: 167.3 kB / 0.4916 GB, free: 7.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1028, allocations: 0 / 0.4916 GB, free: 7.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1028, allocations: 0 / 0.4916 GB, free: 7.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1028, allocations: 0 / 0.4916 GB, free: 7.984 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006235/0.1035, allocations: 470.3 kB / 0.492 GB, free: 7.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1035, allocations: 15.89 kB / 0.4921 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.1035, allocations: 38.67 kB / 0.4921 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.1036, allocations: 20.84 kB / 0.4921 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.1039, allocations: 247.8 kB / 0.4923 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.104, allocations: 384 / 0.4923 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.104, allocations: 11.92 kB / 0.4924 GB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.1042, allocations: 93.03 kB / 0.4924 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.1042, allocations: 0 / 0.4924 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1042, allocations: 4 kB / 0.4925 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1042, allocations: 4 kB / 0.4925 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.1043, allocations: 31.97 kB / 0.4925 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/0.1046, allocations: 210.5 kB / 0.4927 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.1049, allocations: 117 kB / 0.4928 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.331e-05/0.105, allocations: 41.69 kB / 0.4928 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.105, allocations: 7.984 kB / 0.4928 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.1052, allocations: 105 kB / 0.4929 GB, free: 6.387 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.1052, allocations: 4 kB / 0.4929 GB, free: 6.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004336/0.1057, allocations: 161.9 kB / 0.4931 GB, free: 6.219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.662e-05/0.1058, allocations: 132.5 kB / 0.4932 GB, free: 6.059 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.106, allocations: 211.8 kB / 0.4934 GB, free: 5.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.106, allocations: 37.62 kB / 0.4935 GB, free: 5.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.1061, allocations: 108.1 kB / 0.4936 GB, free: 5.684 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.1062, allocations: 35.72 kB / 0.4936 GB, free: 5.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.1062, allocations: 37.7 kB / 0.4936 GB, free: 5.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.1064, allocations: 326.8 kB / 0.494 GB, free: 5.277 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.1065, allocations: 27.98 kB / 0.494 GB, free: 5.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.1066, allocations: 65.12 kB / 0.494 GB, free: 5.168 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.1068, allocations: 95.45 kB / 0.4941 GB, free: 5.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/0.1068, allocations: 3.938 kB / 0.4941 GB, free: 5.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002634/0.1071, allocations: 137.4 kB / 0.4943 GB, free: 4.918 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1071, allocations: 8 kB / 0.4943 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1071, allocations: 0 / 0.4943 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.1071, allocations: 4 kB / 0.4943 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.956e-05/0.1073, allocations: 16 kB / 0.4943 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1073, allocations: 8.047 kB / 0.4943 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.555e-05/0.1073, allocations: 11.95 kB / 0.4943 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1074, allocations: 8 kB / 0.4943 GB, free: 4.863 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: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001201/0.1075, allocations: 137.6 kB / 0.4945 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.1075, allocations: 15.91 kB / 0.4945 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.166e-05/0.1076, allocations: 17 kB / 0.4945 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1076, allocations: 3.984 kB / 0.4945 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1076, allocations: 0 / 0.4945 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1076, allocations: 8 kB / 0.4945 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.1078, allocations: 213.5 kB / 0.4947 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1078, allocations: 0 / 0.4947 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.904e-05/0.1079, allocations: 4.125 kB / 0.4947 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1079, allocations: 4 kB / 0.4947 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.1079, allocations: 7.984 kB / 0.4947 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1079, allocations: 3.938 kB / 0.4947 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1079, allocations: 4 kB / 0.4947 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.1082, allocations: 177.7 kB / 0.4949 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.038e-05/0.1083, allocations: 85.06 kB / 0.495 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.1083, allocations: 3.984 kB / 0.495 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.2e-05/0.1084, allocations: 8 kB / 0.495 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.1084, allocations: 7.984 kB / 0.495 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.1085, allocations: 8 kB / 0.495 GB, free: 4.066 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001578/0.1086, allocations: 165.5 kB / 0.4952 GB, free: 3.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1086, allocations: 3.938 kB / 0.4952 GB, free: 3.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.1089, allocations: 47.89 kB / 0.4952 GB, free: 3.855 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002142/0.111, allocations: 1.045 MB / 0.4962 GB, free: 2.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002409/0.1113, allocations: 79.91 kB / 0.4963 GB, free: 2.742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1113, allocations: 3.938 kB / 0.4963 GB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.1114, allocations: 43.91 kB / 0.4963 GB, free: 2.695 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.1118, allocations: 51.41 kB / 0.4964 GB, free: 2.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.1139, allocations: 1.813 MB / 0.4982 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.1143, allocations: 0.7203 MB / 0.4989 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.186e-05/0.1144, allocations: 37.47 kB / 0.4989 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.812e-05/0.1145, allocations: 47.41 kB / 0.499 GB, free: 15.9 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1145, allocations: 0 / 0.499 GB, free: 15.9 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/0.1416, allocations: 4.707 MB / 0.5035 GB, free: 11.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.73/7.872, allocations: 0 / 0.5035 GB, free: 11.12 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches