Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",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.001145/0.001145, allocations: 109.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.001109/0.001109, allocations: 185.5 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.394/1.394, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.1967/0.1967, allocations: 43.52 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.001553/0.001553, allocations: 71.91 kB / 441.4 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1108, allocations: 57.79 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.00303/0.1138, allocations: 1.696 MB / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.1158, allocations: 1.406 MB / 0.4905 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.525e-05/0.1159, allocations: 0 / 0.4905 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.1162, allocations: 43.77 kB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.1165, allocations: 71.67 kB / 0.4906 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.1168, allocations: 83.72 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.1169, allocations: 95.73 kB / 0.4908 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.416e-05/0.117, allocations: 12.22 kB / 0.4908 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.788e-05/0.1171, allocations: 47.78 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.1173, allocations: 31.84 kB / 0.4909 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.1173, allocations: 8 kB / 0.4909 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.1174, allocations: 67.89 kB / 0.4909 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.447e-05/0.1175, allocations: 11.98 kB / 0.491 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.552e-05/0.1176, allocations: 39.75 kB / 0.491 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.1178, allocations: 123.5 kB / 0.4911 GB, free: 8.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1178, allocations: 4 kB / 0.4911 GB, free: 8.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1178, allocations: 0 / 0.4911 GB, free: 8.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1178, allocations: 0 / 0.4911 GB, free: 8.492 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.0005434/0.1184, allocations: 398.8 kB / 0.4915 GB, free: 8.055 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1184, allocations: 15.88 kB / 0.4915 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.476e-05/0.1185, allocations: 34.75 kB / 0.4915 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.1185, allocations: 12.89 kB / 0.4916 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.1188, allocations: 215.5 kB / 0.4918 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.1188, allocations: 384 / 0.4918 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.1188, allocations: 11.94 kB / 0.4918 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.119, allocations: 67.39 kB / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.119, allocations: 0 / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.119, allocations: 0 / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.1191, allocations: 0 / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.3e-05/0.1191, allocations: 19.98 kB / 0.4919 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.1195, allocations: 292.7 kB / 0.4921 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.1196, allocations: 58.67 kB / 0.4922 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.211e-05/0.1197, allocations: 16.86 kB / 0.4922 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.1197, allocations: 4 kB / 0.4922 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.1199, allocations: 71.38 kB / 0.4923 GB, free: 7.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.993e-06/0.1199, allocations: 3.938 kB / 0.4923 GB, free: 7.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005337/0.1205, allocations: 165.5 kB / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.1205, allocations: 77.11 kB / 0.4925 GB, free: 6.855 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.1207, allocations: 157.7 kB / 0.4927 GB, free: 6.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.1207, allocations: 37.64 kB / 0.4927 GB, free: 6.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/0.1207, allocations: 92.12 kB / 0.4928 GB, free: 6.555 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.1208, allocations: 31.78 kB / 0.4928 GB, free: 6.523 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.1208, allocations: 25.7 kB / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1209, allocations: 322.8 kB / 0.4932 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.59e-05/0.121, allocations: 20 kB / 0.4932 GB, free: 6.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.301e-05/0.1211, allocations: 38.56 kB / 0.4932 GB, free: 6.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.1212, allocations: 65.81 kB / 0.4933 GB, free: 6.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1212, allocations: 0 / 0.4933 GB, free: 6.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001838/0.1214, allocations: 97.56 kB / 0.4934 GB, free: 5.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1214, allocations: 4 kB / 0.4934 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1214, allocations: 3.984 kB / 0.4934 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1215, allocations: 4 kB / 0.4934 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.87e-05/0.1215, allocations: 15.94 kB / 0.4934 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.1216, allocations: 0 / 0.4934 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.625e-05/0.1216, allocations: 11.94 kB / 0.4934 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1216, allocations: 8.031 kB / 0.4934 GB, free: 5.883 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 9.487e-05/0.1217, allocations: 125.7 kB / 0.4935 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.1218, allocations: 11.94 kB / 0.4935 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.943e-05/0.1218, allocations: 12.72 kB / 0.4936 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1218, allocations: 4 kB / 0.4936 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1218, allocations: 0 / 0.4936 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.1218, allocations: 7.922 kB / 0.4936 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004421/0.1223, allocations: 395.3 kB / 0.4939 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1223, allocations: 0 / 0.4939 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.576e-05/0.1223, allocations: 8 kB / 0.4939 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1224, allocations: 3.938 kB / 0.494 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.1224, allocations: 3.984 kB / 0.494 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1224, allocations: 4 kB / 0.494 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1224, allocations: 0 / 0.494 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.1226, allocations: 204.3 kB / 0.4942 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.1227, allocations: 81.06 kB / 0.4942 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.1227, allocations: 12.12 kB / 0.4942 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.105e-05/0.1228, allocations: 384 / 0.4942 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.1228, allocations: 15.91 kB / 0.4943 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.1228, allocations: 8 kB / 0.4943 GB, free: 4.895 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.705e-05/0.1229, allocations: 118.7 kB / 0.4944 GB, free: 4.781 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1229, allocations: 0 / 0.4944 GB, free: 4.781 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000269/0.1232, allocations: 35.92 kB / 0.4944 GB, free: 4.746 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.00158/0.1248, allocations: 1.127 MB / 0.4955 GB, free: 3.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.125, allocations: 59.89 kB / 0.4956 GB, free: 3.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.125, allocations: 4 kB / 0.4956 GB, free: 3.574 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.866e-05/0.1251, allocations: 27.98 kB / 0.4956 GB, free: 3.547 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.1255, allocations: 35.33 kB / 0.4956 GB, free: 3.516 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.127, allocations: 1.555 MB / 0.4972 GB, free: 1.867 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.1273, allocations: 0.6963 MB / 0.4978 GB, free: 1.145 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.368e-05/0.1274, allocations: 25.31 kB / 0.4979 GB, free: 1.121 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.076e-05/0.1275, allocations: 35.42 kB / 0.4979 GB, free: 1.086 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1275, allocations: 3.938 kB / 0.4979 GB, free: 1.082 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.1504, allocations: 3.535 MB / 0.5013 GB, free: 13.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.403/7.554, allocations: 11.83 kB / 0.5014 GB, free: 13.45 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches