Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",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.001589/0.001589, allocations: 104.9 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.001445/0.001446, 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.392/1.392, 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.2128/0.2128, allocations: 43.53 MB / 314.1 MB, free: 468 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.001724/0.001725, allocations: 75.91 kB / 441.4 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1065, allocations: 57.79 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003517/0.1101, allocations: 1.701 MB / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.1115, allocations: 0.7961 MB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.1116, allocations: 0 / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003205/0.1119, allocations: 99.61 kB / 0.49 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.1121, allocations: 75.72 kB / 0.4901 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.1124, allocations: 91.7 kB / 0.4902 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.1126, allocations: 111.7 kB / 0.4903 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.797e-05/0.1127, allocations: 12.22 kB / 0.4903 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.1128, allocations: 55.75 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.1129, allocations: 59.81 kB / 0.4904 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.1129, allocations: 4 kB / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.434e-05/0.113, allocations: 43.98 kB / 0.4904 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.261e-05/0.1131, allocations: 31.86 kB / 0.4905 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.405e-05/0.1132, allocations: 39.73 kB / 0.4905 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.1134, allocations: 119.6 kB / 0.4906 GB, free: 9.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1134, allocations: 0 / 0.4906 GB, free: 9.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1134, allocations: 0 / 0.4906 GB, free: 9.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.1134, allocations: 0 / 0.4906 GB, free: 9.008 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.0005201/0.1139, allocations: 430.2 kB / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.114, allocations: 15.89 kB / 0.491 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.507e-05/0.114, allocations: 34.73 kB / 0.4911 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.1141, allocations: 12.84 kB / 0.4911 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.1144, allocations: 216 kB / 0.4913 GB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.1144, allocations: 4.375 kB / 0.4913 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.1144, allocations: 3.938 kB / 0.4913 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.1146, allocations: 61.61 kB / 0.4914 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.1146, allocations: 0 / 0.4914 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1147, allocations: 0 / 0.4914 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1147, allocations: 0 / 0.4914 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.326e-05/0.1147, allocations: 19.98 kB / 0.4914 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.1151, allocations: 296.9 kB / 0.4917 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.1153, allocations: 54.61 kB / 0.4917 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.608e-05/0.1154, allocations: 24.86 kB / 0.4917 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.1154, allocations: 3.984 kB / 0.4917 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.1156, allocations: 63.39 kB / 0.4918 GB, free: 7.621 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.1156, allocations: 0 / 0.4918 GB, free: 7.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005637/0.1162, allocations: 181.1 kB / 0.492 GB, free: 7.438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.1162, allocations: 55.39 kB / 0.492 GB, free: 7.371 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.1164, allocations: 226.5 kB / 0.4922 GB, free: 7.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.1165, allocations: 25.7 kB / 0.4923 GB, free: 7.105 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.1165, allocations: 108.1 kB / 0.4924 GB, free: 6.996 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.1166, allocations: 27.7 kB / 0.4924 GB, free: 6.969 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.1166, allocations: 25.72 kB / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1167, allocations: 326.8 kB / 0.4927 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.483e-05/0.1168, allocations: 19.98 kB / 0.4928 GB, free: 6.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.516e-05/0.1169, allocations: 45.58 kB / 0.4928 GB, free: 6.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.117, allocations: 57.69 kB / 0.4928 GB, free: 6.477 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.117, allocations: 4 kB / 0.4929 GB, free: 6.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001889/0.1172, allocations: 105.4 kB / 0.493 GB, free: 6.363 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1172, allocations: 4 kB / 0.493 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1172, allocations: 0 / 0.493 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1173, allocations: 4 kB / 0.493 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.007e-05/0.1174, allocations: 15.98 kB / 0.493 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1174, allocations: 0 / 0.493 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.617e-05/0.1174, allocations: 7.938 kB / 0.493 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.1174, allocations: 4.375 kB / 0.493 GB, free: 6.328 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.000112/0.1176, allocations: 141.7 kB / 0.4931 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.1176, allocations: 11.91 kB / 0.4931 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.343e-05/0.1176, allocations: 17.39 kB / 0.4932 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1176, allocations: 4 kB / 0.4932 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1177, allocations: 4 kB / 0.4932 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.1177, allocations: 3.938 kB / 0.4932 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.1181, allocations: 399.2 kB / 0.4935 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1181, allocations: 4.031 kB / 0.4935 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.1182, allocations: 11.98 kB / 0.4936 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.1182, allocations: 7.938 kB / 0.4936 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1182, allocations: 0 / 0.4936 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1182, allocations: 0 / 0.4936 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1182, allocations: 0 / 0.4936 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.1184, allocations: 204.2 kB / 0.4938 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.1185, allocations: 88.92 kB / 0.4938 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.1185, allocations: 7.938 kB / 0.4939 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.83e-05/0.1186, allocations: 3.984 kB / 0.4939 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.1186, allocations: 8 kB / 0.4939 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.1186, allocations: 4 kB / 0.4939 GB, free: 5.312 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.1188, allocations: 167.2 kB / 0.494 GB, free: 5.148 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1188, allocations: 3.938 kB / 0.494 GB, free: 5.145 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000262/0.1191, allocations: 24 kB / 0.4941 GB, free: 5.121 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.001405/0.1205, allocations: 1.111 MB / 0.4951 GB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.1207, allocations: 51.98 kB / 0.4952 GB, free: 3.977 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1207, allocations: 0 / 0.4952 GB, free: 3.977 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.385e-05/0.1208, allocations: 31.92 kB / 0.4952 GB, free: 3.945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.1211, allocations: 39.59 kB / 0.4953 GB, free: 3.906 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.1229, allocations: 1.716 MB / 0.4969 GB, free: 2.102 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.1232, allocations: 0.7079 MB / 0.4976 GB, free: 1.367 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.331e-05/0.1233, allocations: 17.17 kB / 0.4976 GB, free: 1.352 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.81e-05/0.1234, allocations: 39.42 kB / 0.4977 GB, free: 1.312 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1234, allocations: 4 kB / 0.4977 GB, free: 1.309 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.1438, allocations: 3.573 MB / 0.5012 GB, free: 13.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.883/8.027, allocations: 7.906 kB / 0.5012 GB, free: 13.7 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches