Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",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.0007866/0.0007866, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008176/0.0008176, allocations: 185.1 kB / 16.92 MB, free: 6.918 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.297/1.297, allocations: 205.4 MB / 223.1 MB, free: 5.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3013/0.3013, allocations: 43.58 MB / 315 MB, free: 8.898 MB / 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.0004668/0.0004668, allocations: 16 kB / 384.7 MB, free: 7.758 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09608/0.09655, allocations: 58.86 MB / 443.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.001611/0.0982, allocations: 1.379 MB / 444.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.09926, allocations: 0.7574 MB / 445.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.622e-05/0.09932, allocations: 0 / 445.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.09956, allocations: 59.84 kB / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.09972, allocations: 55.81 kB / 445.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.09991, allocations: 71.86 kB / 445.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.1001, allocations: 95.67 kB / 446 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.018e-05/0.1001, allocations: 11.98 kB / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.326e-05/0.1002, allocations: 43.73 kB / 446 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.978e-05/0.1003, allocations: 47.81 kB / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.1003, allocations: 0 / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.739e-05/0.1004, allocations: 28 kB / 446.1 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.623e-05/0.1004, allocations: 19.91 kB / 446.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.775e-05/0.1005, allocations: 53.5 kB / 446.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.1006, allocations: 99.88 kB / 446.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1006, allocations: 0 / 446.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1006, allocations: 0 / 446.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.1006, allocations: 4 kB / 446.3 MB, free: 10.06 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004026/0.1011, allocations: 399 kB / 446.7 MB, free: 9.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.1011, allocations: 8.031 kB / 446.7 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.028e-05/0.1011, allocations: 30.75 kB / 446.7 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.1012, allocations: 12.83 kB / 446.7 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.1013, allocations: 204 kB / 446.9 MB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1014, allocations: 4.359 kB / 446.9 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.1014, allocations: 11.94 kB / 446.9 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.1015, allocations: 49.62 kB / 447 MB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.1015, allocations: 3.938 kB / 447 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1015, allocations: 3.984 kB / 447 MB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.1015, allocations: 0 / 447 MB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.877e-05/0.1016, allocations: 15.94 kB / 447 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.1018, allocations: 181.7 kB / 447.2 MB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.1019, allocations: 54.55 kB / 447.2 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.088e-05/0.102, allocations: 24.84 kB / 447.2 MB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.102, allocations: 0 / 447.2 MB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.1022, allocations: 67.33 kB / 447.3 MB, free: 8.836 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.1022, allocations: 0 / 447.3 MB, free: 8.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000239/0.1024, allocations: 97.58 kB / 447.4 MB, free: 8.734 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.1025, allocations: 51.41 kB / 447.5 MB, free: 8.672 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.1026, allocations: 190.1 kB / 447.6 MB, free: 8.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.1026, allocations: 29.7 kB / 447.7 MB, free: 8.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/0.1027, allocations: 96.14 kB / 447.8 MB, free: 8.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.1027, allocations: 15.83 kB / 447.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.268e-05/0.1027, allocations: 13.72 kB / 447.8 MB, free: 8.305 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.491e-05/0.1028, allocations: 322.8 kB / 448.1 MB, free: 7.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.611e-05/0.1029, allocations: 8 kB / 448.1 MB, free: 7.973 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.427e-05/0.1029, allocations: 41.69 kB / 448.2 MB, free: 7.926 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.1031, allocations: 37.7 kB / 448.2 MB, free: 7.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.1031, allocations: 3.938 kB / 448.2 MB, free: 7.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000145/0.1032, allocations: 85.53 kB / 448.3 MB, free: 7.789 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.1032, allocations: 4 kB / 448.3 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.1032, allocations: 0 / 448.3 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.1033, allocations: 4 kB / 448.3 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.356e-05/0.1033, allocations: 11.98 kB / 448.3 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.1033, allocations: 4.031 kB / 448.3 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.523e-05/0.1034, allocations: 7.906 kB / 448.3 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.1034, allocations: 0 / 448.3 MB, free: 7.758 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 (7): * Single equations (assignments): 7 * 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 8.254e-05/0.1035, allocations: 133.6 kB / 448.4 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.1035, allocations: 11.91 kB / 448.5 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.724e-05/0.1036, allocations: 12.31 kB / 448.5 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1036, allocations: 0 / 448.5 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.1036, allocations: 0 / 448.5 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1036, allocations: 4 kB / 448.5 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.1037, allocations: 193.5 kB / 448.7 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1037, allocations: 0 / 448.7 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.93e-05/0.1037, allocations: 4 kB / 448.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1037, allocations: 0 / 448.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.1037, allocations: 0 / 448.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1038, allocations: 0 / 448.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1038, allocations: 0 / 448.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.1039, allocations: 109.3 kB / 448.8 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.552e-05/0.104, allocations: 96.97 kB / 448.9 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.104, allocations: 19.86 kB / 448.9 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.856e-05/0.1041, allocations: 4 kB / 448.9 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-05/0.1041, allocations: 4 kB / 448.9 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.1041, allocations: 0 / 448.9 MB, free: 7.086 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.651e-05/0.1042, allocations: 144 kB / 449 MB, free: 6.945 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1042, allocations: 0 / 449 MB, free: 6.945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002018/0.1044, allocations: 20 kB / 449.1 MB, free: 6.926 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001134/0.1056, allocations: 0.9469 MB / 450 MB, free: 5.984 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.1057, allocations: 43.86 kB / 450 MB, free: 5.941 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1057, allocations: 3.938 kB / 450 MB, free: 5.938 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.404e-05/0.1058, allocations: 19.98 kB / 450.1 MB, free: 5.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.106, allocations: 35.97 kB / 450.1 MB, free: 5.883 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.1073, allocations: 1.48 MB / 451.6 MB, free: 4.309 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.1076, allocations: 0.7043 MB / 452.3 MB, free: 3.578 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.308e-05/0.1076, allocations: 12.42 kB / 452.3 MB, free: 3.566 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.008e-05/0.1077, allocations: 31.42 kB / 452.3 MB, free: 3.535 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1077, allocations: 0 / 452.3 MB, free: 3.535 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01119/0.1189, allocations: 2.645 MB / 455 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/0.1191, allocations: 233.8 kB / 455.2 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/1.769, allocations: 3.938 kB / 455.2 MB, free: 0.6328 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches