Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",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.001271/0.001271, allocations: 107.2 kB / 16.41 MB, free: 6.5 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.001321/0.001321, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.427/1.427, 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.2174/0.2174, allocations: 43.53 MB / 314.1 MB, free: 460 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.001988/0.001988, allocations: 73.45 kB / 441.4 MB, free: 6.082 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1116, allocations: 57.79 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003287/0.1149, allocations: 1.712 MB / 0.4891 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.1166, allocations: 0.8039 MB / 0.4899 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.979e-05/0.1167, allocations: 4 kB / 0.4899 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003888/0.1171, allocations: 119.5 kB / 0.49 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.1174, allocations: 79.7 kB / 0.4901 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.1177, allocations: 95.7 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.1179, allocations: 123.7 kB / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.118, allocations: 19.98 kB / 0.4904 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.1182, allocations: 59.75 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.1183, allocations: 67.75 kB / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.1183, allocations: 4 kB / 0.4905 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.1184, allocations: 43.98 kB / 0.4905 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.214e-05/0.1185, allocations: 27.91 kB / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.455e-05/0.1186, allocations: 47.67 kB / 0.4906 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.1188, allocations: 139.3 kB / 0.4907 GB, free: 8.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1189, allocations: 3.984 kB / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1189, allocations: 0 / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.1189, allocations: 4 kB / 0.4907 GB, free: 8.852 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006135/0.1195, allocations: 446.5 kB / 0.4912 GB, free: 8.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1195, allocations: 11.89 kB / 0.4912 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.119e-05/0.1196, allocations: 38.73 kB / 0.4912 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.1196, allocations: 12.84 kB / 0.4912 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.12, allocations: 235.9 kB / 0.4914 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.12, allocations: 8.375 kB / 0.4915 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.12, allocations: 7.938 kB / 0.4915 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.1202, allocations: 69.66 kB / 0.4915 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1202, allocations: 0 / 0.4915 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.1202, allocations: 3.938 kB / 0.4915 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1202, allocations: 4 kB / 0.4915 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.1204, allocations: 35.91 kB / 0.4916 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004255/0.1208, allocations: 308.8 kB / 0.4919 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.121, allocations: 78.73 kB / 0.4919 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.026e-05/0.1211, allocations: 24.89 kB / 0.492 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.1211, allocations: 3.984 kB / 0.492 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.1213, allocations: 71.39 kB / 0.492 GB, free: 7.344 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.1213, allocations: 0 / 0.492 GB, free: 7.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006372/0.1219, allocations: 245.1 kB / 0.4923 GB, free: 7.098 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.122, allocations: 55.34 kB / 0.4923 GB, free: 7.031 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.1223, allocations: 242.6 kB / 0.4926 GB, free: 6.777 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.1223, allocations: 33.64 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.369e-05/0.1224, allocations: 112.1 kB / 0.4927 GB, free: 6.625 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.1224, allocations: 35.69 kB / 0.4927 GB, free: 6.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.1225, allocations: 29.7 kB / 0.4928 GB, free: 6.555 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1226, allocations: 326.8 kB / 0.4931 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.041e-05/0.1227, allocations: 31.98 kB / 0.4931 GB, free: 6.195 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.692e-05/0.1228, allocations: 49.7 kB / 0.4931 GB, free: 6.141 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.123, allocations: 85.58 kB / 0.4932 GB, free: 6.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.123, allocations: 0 / 0.4932 GB, free: 6.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002366/0.1232, allocations: 133.5 kB / 0.4934 GB, free: 5.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1232, allocations: 8 kB / 0.4934 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1232, allocations: 4.031 kB / 0.4934 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1233, allocations: 0 / 0.4934 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1234, allocations: 19.98 kB / 0.4934 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1234, allocations: 7.938 kB / 0.4934 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.1234, allocations: 4 kB / 0.4934 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.1234, allocations: 4 kB / 0.4934 GB, free: 5.867 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 (13): * Single equations (assignments): 13 * 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.0001291/0.1236, allocations: 141.7 kB / 0.4935 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.1236, allocations: 15.91 kB / 0.4935 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.5e-05/0.1237, allocations: 25.39 kB / 0.4936 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1237, allocations: 4 kB / 0.4936 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.1237, allocations: 3.938 kB / 0.4936 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1237, allocations: 3.938 kB / 0.4936 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005467/0.1243, allocations: 447.3 kB / 0.494 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.1243, allocations: 3.938 kB / 0.494 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.174e-05/0.1243, allocations: 15.98 kB / 0.494 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.1243, allocations: 7.938 kB / 0.494 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1244, allocations: 4 kB / 0.494 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1244, allocations: 4.031 kB / 0.494 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1244, allocations: 0 / 0.494 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.1247, allocations: 228.3 kB / 0.4943 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.1248, allocations: 96.95 kB / 0.4944 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.1248, allocations: 0 / 0.4944 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.386e-05/0.1249, allocations: 4 kB / 0.4944 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.1249, allocations: 20.06 kB / 0.4944 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.125, allocations: 7.938 kB / 0.4944 GB, free: 4.746 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001695/0.1251, allocations: 188.2 kB / 0.4946 GB, free: 4.562 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.558e-06/0.1251, allocations: 0 / 0.4946 GB, free: 4.562 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.1254, allocations: 39.8 kB / 0.4946 GB, free: 4.523 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 (11): * Single equations (assignments): 9 * 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.002168/0.1276, allocations: 1.123 MB / 0.4957 GB, free: 3.426 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002659/0.1279, allocations: 83.91 kB / 0.4958 GB, free: 3.344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1279, allocations: 4.062 kB / 0.4958 GB, free: 3.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.128, allocations: 39.92 kB / 0.4958 GB, free: 3.301 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.1284, allocations: 39.52 kB / 0.4959 GB, free: 3.266 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.1305, allocations: 1.873 MB / 0.4977 GB, free: 1.297 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.1309, allocations: 0.7279 MB / 0.4984 GB, free: 0.543 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.135e-05/0.1309, allocations: 21.02 kB / 0.4984 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.245e-05/0.131, allocations: 47.41 kB / 0.4985 GB, free: 488 kB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.131, allocations: 0 / 0.4985 GB, free: 488 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/0.1568, allocations: 3.925 MB / 0.5023 GB, free: 12.53 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.934/8.091, allocations: 3.938 kB / 0.5023 GB, free: 12.52 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches