Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",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.001565/0.001565, allocations: 103.4 kB / 16.4 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.001327/0.001327, allocations: 189.5 kB / 17.34 MB, free: 5.77 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.622/1.622, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2287/0.2287, allocations: 43.52 MB / 314.1 MB, free: 472 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.001471/0.001471, allocations: 75.89 kB / 441.4 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1034, allocations: 57.79 MB / 499.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003633/0.107, allocations: 1.689 MB / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.1086, allocations: 0.7999 MB / 0.4899 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.755e-05/0.1087, allocations: 0 / 0.4899 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.109, allocations: 35.83 kB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002465/0.1093, allocations: 63.69 kB / 0.49 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.1097, allocations: 87.77 kB / 0.4901 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.1099, allocations: 95.69 kB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.11, allocations: 12.22 kB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.1101, allocations: 47.77 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.62e-05/0.1102, allocations: 23.86 kB / 0.4903 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.1102, allocations: 4 kB / 0.4903 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.1104, allocations: 43.92 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.252e-05/0.1104, allocations: 27.91 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.796e-05/0.1105, allocations: 31.81 kB / 0.4904 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.1108, allocations: 103.7 kB / 0.4905 GB, free: 9.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.1108, allocations: 3.984 kB / 0.4905 GB, free: 9.156 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1108, allocations: 0 / 0.4905 GB, free: 9.156 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.1108, allocations: 0 / 0.4905 GB, free: 9.156 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.0006599/0.1115, allocations: 399 kB / 0.4908 GB, free: 8.719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.341e-05/0.1116, allocations: 15.83 kB / 0.4909 GB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.468e-05/0.1116, allocations: 34.69 kB / 0.4909 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.853e-05/0.1117, allocations: 12.83 kB / 0.4909 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.1121, allocations: 212.4 kB / 0.4911 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.1121, allocations: 0 / 0.4911 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.1121, allocations: 4 kB / 0.4911 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.1123, allocations: 53.67 kB / 0.4912 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.1123, allocations: 0 / 0.4912 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.1123, allocations: 3.984 kB / 0.4912 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.1124, allocations: 0 / 0.4912 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.92e-05/0.1124, allocations: 23.92 kB / 0.4912 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000422/0.1129, allocations: 284.9 kB / 0.4915 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.1131, allocations: 62.66 kB / 0.4915 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.463e-05/0.1131, allocations: 20.84 kB / 0.4915 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.1132, allocations: 0 / 0.4915 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.1134, allocations: 79.23 kB / 0.4916 GB, free: 7.801 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.1134, allocations: 0 / 0.4916 GB, free: 7.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006069/0.114, allocations: 165.3 kB / 0.4918 GB, free: 7.633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.114, allocations: 59.34 kB / 0.4918 GB, free: 7.562 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.1142, allocations: 162.4 kB / 0.492 GB, free: 7.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.1142, allocations: 29.7 kB / 0.492 GB, free: 7.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.1143, allocations: 100.1 kB / 0.4921 GB, free: 7.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.1143, allocations: 23.7 kB / 0.4921 GB, free: 7.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.1144, allocations: 21.72 kB / 0.4921 GB, free: 7.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1145, allocations: 322.8 kB / 0.4925 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.27e-05/0.1146, allocations: 23.98 kB / 0.4925 GB, free: 6.855 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.856e-05/0.1147, allocations: 33.7 kB / 0.4925 GB, free: 6.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.1148, allocations: 65.7 kB / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1148, allocations: 8 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001883/0.115, allocations: 93.58 kB / 0.4927 GB, free: 6.641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.115, allocations: 4 kB / 0.4927 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.115, allocations: 3.938 kB / 0.4927 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.1151, allocations: 4 kB / 0.4927 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.843e-05/0.1152, allocations: 19.92 kB / 0.4927 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1152, allocations: 3.938 kB / 0.4927 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.937e-05/0.1152, allocations: 8 kB / 0.4927 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1152, allocations: 0 / 0.4927 GB, free: 6.598 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.00011/0.1154, allocations: 125.8 kB / 0.4928 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.1154, allocations: 15.8 kB / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.132e-05/0.1154, allocations: 16.66 kB / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1155, allocations: 4 kB / 0.4929 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1155, allocations: 0 / 0.4929 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.1155, allocations: 0 / 0.4929 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000467/0.1159, allocations: 391.3 kB / 0.4932 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.116, allocations: 0 / 0.4932 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.868e-05/0.116, allocations: 19.95 kB / 0.4933 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.116, allocations: 0 / 0.4933 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.116, allocations: 4 kB / 0.4933 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.116, allocations: 0 / 0.4933 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.116, allocations: 0 / 0.4933 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.1163, allocations: 200.2 kB / 0.4935 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.1163, allocations: 85.02 kB / 0.4935 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.1164, allocations: 4 kB / 0.4935 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.014e-05/0.1164, allocations: 4.359 kB / 0.4935 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.1165, allocations: 8 kB / 0.4935 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.1165, allocations: 4.188 kB / 0.4936 GB, free: 5.625 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.814e-05/0.1166, allocations: 127.9 kB / 0.4937 GB, free: 5.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1166, allocations: 3.938 kB / 0.4937 GB, free: 5.496 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.1169, allocations: 27.98 kB / 0.4937 GB, free: 5.469 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.001598/0.1185, allocations: 1.106 MB / 0.4948 GB, free: 4.383 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.1187, allocations: 59.91 kB / 0.4948 GB, free: 4.324 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1187, allocations: 0 / 0.4948 GB, free: 4.324 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.156e-05/0.1188, allocations: 35.92 kB / 0.4949 GB, free: 4.289 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.1192, allocations: 27.42 kB / 0.4949 GB, free: 4.266 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.121, allocations: 1.581 MB / 0.4964 GB, free: 2.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.1213, allocations: 0.6963 MB / 0.4971 GB, free: 1.867 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.766e-05/0.1214, allocations: 8.891 kB / 0.4971 GB, free: 1.859 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.015e-05/0.1215, allocations: 31.42 kB / 0.4972 GB, free: 1.828 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1215, allocations: 4 kB / 0.4972 GB, free: 1.824 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.1412, allocations: 3.291 MB / 0.5004 GB, free: 14.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.732/7.873, allocations: 11.98 kB / 0.5004 GB, free: 14.49 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches